# \[PATCH 0/7\] USB: don't recover device if suspend fails in system sleep

- From: Ming Lei \<hidden\>
- Date: 2013-03-05 04:01:36 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2013/03/8921047
- Thread: https://ratatoskr.run/netdev/2013/03/8921047/t.md

```text
Hi,

This patch adds comments on interface driver suspend callback
to emphasize that the failure return value is ignored by
USB core in system sleep context, so do not try to recover
device for this case, otherwise the URB traffic scheduled
in recovery of failure path may cross system sleep, and may
cause problems.

Also fixes the USB serial, HID and several usbnet drivers
which may recover device in suspend failure path of system sleep.

Thanks,
--
Ming Lei
```
