diff options
-rw-r--r-- | drivers/usb/core/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index d7a4401ef019..c0e60fbcb048 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
@@ -1337,7 +1337,7 @@ int usb_resume(struct device *dev, pm_message_t msg) | |||
1337 | /* Avoid PM error messages for devices disconnected while suspended | 1337 | /* Avoid PM error messages for devices disconnected while suspended |
1338 | * as we'll display regular disconnect messages just a bit later. | 1338 | * as we'll display regular disconnect messages just a bit later. |
1339 | */ | 1339 | */ |
1340 | if (status == -ENODEV) | 1340 | if (status == -ENODEV || status == -ESHUTDOWN) |
1341 | status = 0; | 1341 | status = 0; |
1342 | return status; | 1342 | return status; |
1343 | } | 1343 | } |