diff options
author | 2017-11-03 13:41:46 +1100 | |
---|---|---|
committer | 2017-11-06 20:39:31 +1100 | |
commit | 6f469b67ff8a3ec2698ef1041229e111065013ce (patch) | |
tree | a8bd54a13158fabb6fe45eef61c86586df03b313 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/powernv: Add OPAL_BUSY to opal_error_code() (diff) | |
download | wireguard-linux-6f469b67ff8a3ec2698ef1041229e111065013ce.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions