Re: [PATCH v2] usb hub: send clear_tt_buffer_complete events whencanceling TT clear work
From: Alan Stern
Date: Mon Oct 01 2012 - 15:45:47 EST
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 behavior to flush the TT clear work
> instead of canceling it, to make sure that no TT clear request remains
> uncompleted before suspend.
>
> Signed-off-by: Octavian Purdila <octavian.purdila@xxxxxxxxx>
Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/