diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2017-11-03 13:41:38 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-06 20:20:26 +1100 |
commit | 25ee52e66949b6e5f041aedff4db9a7d84a6fb2b (patch) | |
tree | 40703bc32546880bd5ff70fb2cd392abd47c73e7 /drivers/gpio | |
parent | 44e2aa2b16a872fa8aa4901b3793132e6cfd293a (diff) |
mtd: powernv_flash: Don't treat OPAL_SUCCESS as an error
While this driver expects to interact asynchronously, OPAL is well
within its rights to return OPAL_SUCCESS to indicate that the operation
completed without the need for a callback. We shouldn't treat
OPAL_SUCCESS as an error rather we should wrap up and return promptly to
the caller.
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 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions