Re: [PATCH v2] usb: ehci: Only sleep for post-resume handover if devices use persist

2013-04-25 Thread Alan Stern
On Thu, 25 Apr 2013, Julius Werner wrote: > >> +extern int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, > >> void *)); > > > > Line is too long. > > The limit is 80 (inclusive), right? Without the diff's leading '+' I > count exactly that... Oh, okay, sorry. I was fooled by the

Re: [PATCH v2] usb: ehci: Only sleep for post-resume handover if devices use persist

2013-04-25 Thread Julius Werner
On Thu, Apr 25, 2013 at 7:38 AM, Alan Stern wrote: > On Wed, 24 Apr 2013, Julius Werner wrote: > >> The current EHCI code sleeps a flat 110ms in the resume path if there >> was a USB 1.1 device connected to its companion controller during >> suspend, waiting for the device to reappear and reset so

Re: [PATCH v2] usb: ehci: Only sleep for post-resume handover if devices use persist

2013-04-25 Thread Alan Stern
On Wed, 24 Apr 2013, Julius Werner wrote: > The current EHCI code sleeps a flat 110ms in the resume path if there > was a USB 1.1 device connected to its companion controller during > suspend, waiting for the device to reappear and reset so that it can be > handed back to the companion. This is ne

[PATCH v2] usb: ehci: Only sleep for post-resume handover if devices use persist

2013-04-24 Thread Julius Werner
The current EHCI code sleeps a flat 110ms in the resume path if there was a USB 1.1 device connected to its companion controller during suspend, waiting for the device to reappear and reset so that it can be handed back to the companion. This is necessary if the device uses persist, so that the com