Home
last modified time | relevance | path

Searched hist:"25 ee52e66949b6e5f041aedff4db9a7d84a6fb2b" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/devices/
H A Dpowernv_flash.c25ee52e66949b6e5f041aedff4db9a7d84a6fb2b Fri Nov 03 02:41:38 UTC 2017 Cyril Bur <cyrilbur@gmail.com> 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>