Re: [PATCH] usb: retry reset if a device times out

2016-02-17 Thread Oliver Neukum
On Wed, 2016-02-17 at 11:38 +0800, Peter Chen wrote: > I remembered you agreed with using outer loop counter (i) as the quit > condition. Hi, thank you very much. A typo that is almost impossible to catch. I'll submit a patch to fix this. Thanks Oliver -- To unsubscribe

Re: [PATCH] usb: retry reset if a device times out

2016-02-16 Thread Peter Chen
On Wed, Feb 10, 2016 at 11:33:18AM +0100, Oliver Neukum wrote: > Some devices I got show an inability to operate right after > power on if they are already connected. They are beyond recovery > if the descriptors are requested multiple times. So in case of > a timeout we rather bail early and reset

Re: [PATCH] usb: retry reset if a device times out

2016-02-04 Thread Peter Chen
On Thu, Feb 04, 2016 at 10:41:45AM -0500, Alan Stern wrote: > On Thu, 4 Feb 2016, Oliver Neukum wrote: > > > On Thu, 2016-02-04 at 17:08 +0800, Peter Chen wrote: > > > On Thu, Feb 04, 2016 at 09:53:10AM +0100, Oliver Neukum wrote: > > > > On Thu, 2016-02-04 at 14:53 +0800, Peter Chen wrote: > > >

Re: [PATCH] usb: retry reset if a device times out

2016-02-04 Thread Alan Stern
On Thu, 4 Feb 2016, Oliver Neukum wrote: > On Thu, 2016-02-04 at 17:08 +0800, Peter Chen wrote: > > On Thu, Feb 04, 2016 at 09:53:10AM +0100, Oliver Neukum wrote: > > > On Thu, 2016-02-04 at 14:53 +0800, Peter Chen wrote: > > > > On Wed, Feb 03, 2016 at 11:24:57AM -0500, Alan Stern wrote: > > > >

Re: [PATCH] usb: retry reset if a device times out

2016-02-04 Thread Oliver Neukum
On Thu, 2016-02-04 at 17:08 +0800, Peter Chen wrote: > On Thu, Feb 04, 2016 at 09:53:10AM +0100, Oliver Neukum wrote: > > On Thu, 2016-02-04 at 14:53 +0800, Peter Chen wrote: > > > On Wed, Feb 03, 2016 at 11:24:57AM -0500, Alan Stern wrote: > > > > On Wed, 3 Feb 2016, Oliver Neukum wrote: > > > >

Re: [PATCH] usb: retry reset if a device times out

2016-02-04 Thread Peter Chen
On Thu, Feb 04, 2016 at 09:53:10AM +0100, Oliver Neukum wrote: > On Thu, 2016-02-04 at 14:53 +0800, Peter Chen wrote: > > On Wed, Feb 03, 2016 at 11:24:57AM -0500, Alan Stern wrote: > > > On Wed, 3 Feb 2016, Oliver Neukum wrote: > > > > > > > Some devices I got show an inability to operate right a

Re: [PATCH] usb: retry reset if a device times out

2016-02-04 Thread Oliver Neukum
On Thu, 2016-02-04 at 14:53 +0800, Peter Chen wrote: > On Wed, Feb 03, 2016 at 11:24:57AM -0500, Alan Stern wrote: > > On Wed, 3 Feb 2016, Oliver Neukum wrote: > > > > > Some devices I got show an inability to operate right after > > > power on if they are already connected. They are beyond recove

Re: [PATCH] usb: retry reset if a device times out

2016-02-03 Thread Peter Chen
On Wed, Feb 03, 2016 at 11:24:57AM -0500, Alan Stern wrote: > On Wed, 3 Feb 2016, Oliver Neukum wrote: > > > Some devices I got show an inability to operate right after > > power on if they are already connected. They are beyond recovery > > if the descriptors are requested multiple times. So in c

Re: [PATCH] usb: retry reset if a device times out

2016-02-03 Thread Oliver Neukum
On Wed, 2016-02-03 at 11:24 -0500, Alan Stern wrote: > On Wed, 3 Feb 2016, Oliver Neukum wrote: > > > Some devices I got show an inability to operate right after > > power on if they are already connected. They are beyond recovery > > if the descriptors are requested multiple times. So in case of

Re: [PATCH] usb: retry reset if a device times out

2016-02-03 Thread Alan Stern
On Wed, 3 Feb 2016, Oliver Neukum wrote: > Some devices I got show an inability to operate right after > power on if they are already connected. They are beyond recovery > if the descriptors are requested multiple times. So in case of > a timeout we rather bail early and reset again. > > This pat