firmware loader: Fix _request_firmware_load() return val for fw load abort
authorShuah Khan <shuah.kh@samsung.com>
Wed, 23 Jul 2014 00:10:38 +0000 (18:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 02:15:20 +0000 (19:15 -0700)
commit0542ad88fbdd81bbd53f48bff981a9867e0f0659
tree986141359687729bc974d53147b9be1abe7bf058
parentd2168146c222d607bf4baeaaaa990f39411d1567
firmware loader: Fix _request_firmware_load() return val for fw load abort

_request_firmware_load() returns -ENOMEM when fw load is aborted after
timeout. Call is_fw_load_aborted() to check if fw load is aborted and
if true return -EAGAIN.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c