UAS: also check for ESHUTDOWN in error reporting
authorOliver Neukum <oneukum@suse.com>
Mon, 24 Aug 2015 09:10:43 +0000 (11:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 09:45:11 +0000 (10:45 +0100)
commitcca26be3e68ff2950acda29a5331fe65825034ce
treea6402c48eb2c9cd1cd8623c841f7a42c7f5534eb
parentdb1319e166c5e872c4be54eac4e47454133708cf
UAS: also check for ESHUTDOWN in error reporting

-ESHUTDOWN means that the HC has been unplugged.
Reporting an error in that case makes no sense.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c