diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2017-11-03 03:41:46 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-06 10:39:31 +0100 |
commit | 6f469b67ff8a3ec2698ef1041229e111065013ce (patch) | |
tree | a8bd54a13158fabb6fe45eef61c86586df03b313 /net/dccp | |
parent | powerpc/powernv: Add OPAL_BUSY to opal_error_code() (diff) | |
download | linux-6f469b67ff8a3ec2698ef1041229e111065013ce.tar.xz linux-6f469b67ff8a3ec2698ef1041229e111065013ce.zip |
mtd: powernv_flash: Use opal_async_wait_response_interruptible()
The OPAL calls performed in this driver shouldn't be using
opal_async_wait_response() as this performs a wait_event() which, on
long running OPAL calls could result in hung task warnings. wait_event()
prevents timely signal delivery which is also undesirable.
This patch also attempts to quieten down the use of dev_err() when
errors haven't actually occurred and also to return better information up
the stack rather than always -EIO.
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions