Re: leaving URBs scheduled across system sleep (was:Re: Alan's idea about syspending the whole bus at once)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Dec 2009, Crane Cai wrote:

> Hi Alan,
> 
> Sorry to disturb. One question related to it:
> On Tue, Dec 29, 2009 at 10:55:00AM -0500, Alan Stern wrote:
> > The way I see it, keeping URBs alive while doing a bus suspend just 
> > adds unnecessary complexity without providing any comparable benefit.  
> The actual source clip in function usb_suspend_both show: now first
> usb_suspend_device do, then usb_hcd_flush_endpoint. Actually these URB are
> running between them, and indeed if usb_suspend_device return OK, the port is
> closed, who insure these URB work well?

They probably _don't_ work.  That was part of the point I was making.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux