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

- From: Ming Lei \<hidden\>
- Date: 2013-03-05 05:14:11 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/03/8921055
- Thread: https://ratatoskr.run/netdev/2013/03/8921047/t.md

```text
On Tue, Mar 5, 2013 at 12:01 PM, Ming Lei [ref] wrote:
> 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.

Sorry, this patches have compile problem, so please don't apply them,
and I will send v1 later.


Thanks,
--
Ming Lei
```
