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

- From: Ming Lei \<hidden\>
- Date: 2013-03-06 10:25:49 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2013/03/8921085
- Thread: https://ratatoskr.run/netdev/2013/03/8921085/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 recovery things may confuse
resume().

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

v1:
	- fix compile failure
	- add comments about handling suspend failure in resume()

Thanks,
--
Ming Lei
```
