[PATCH] mtd:elm: Use correct check on return value of pm_runtime_get_sync
Brian Norris
computersforpeace at gmail.com
Tue Feb 11 13:45:41 EST 2014
On Mon, Feb 03, 2014 at 03:54:09PM +0100, Stefan Sørensen wrote:
> The ELM driver incorrectly reagard any non-zero return value from
> pm_runtime_get_sync as an error, but it may return 1 if the device
> was already active. Fix to only error when return value is negative.
>
> Signed-off-by: Stefan Sørensen <stefan.sorensen at spectralink.com>
Pushed to l2-mtd.git. Thanks!
Brian
More information about the linux-mtd
mailing list