Re: [PATCH v2] usb hub: send clear_tt_buffer_complete events when canceling TT clear work

2012-10-01 Thread Alan Stern
On Mon, 1 Oct 2012, Octavian Purdila wrote: > There is a race condition in the USB hub code with regard to handling > TT clear requests that can get the HCD driver in a deadlock. Usually > when an TT clear request is scheduled it will be executed immediately: ... > This patch changes hub_quiesce

[PATCH v2] usb hub: send clear_tt_buffer_complete events when canceling TT clear work

2012-10-01 Thread Octavian Purdila
There is a race condition in the USB hub code with regard to handling TT clear requests that can get the HCD driver in a deadlock. Usually when an TT clear request is scheduled it will be executed immediately: <7>[6.077583] usb 2-1.3: unlink qh1-0e01/f4d4db00 start 0 [1/2 us] <3>[6.078041]