USB: EHCI: use the new clear_tt_buffer interface
This patch (as1256) changes ehci-hcd and all the other drivers in the EHCI family to make use of the new clear_tt_buffer callbacks. When a Clear-TT-Buffer request is in progress for a QH, the QH is not allowed to be linked into the async schedule until the request is finished. At that time, if there are any URBs queued for the QH, it is linked into the async schedule. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cb88a1b887
commit
914b701280
@@ -1003,6 +1003,8 @@ idle_timeout:
|
||||
schedule_timeout_uninterruptible(1);
|
||||
goto rescan;
|
||||
case QH_STATE_IDLE: /* fully unlinked */
|
||||
if (qh->clearing_tt)
|
||||
goto idle_timeout;
|
||||
if (list_empty (&qh->qtd_list)) {
|
||||
qh_put (qh);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user