]> git.baikalelectronics.ru Git - kernel.git/commit
isp1760-hcd: move dequeued qtds to the front in qh
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 18 Apr 2012 07:58:23 +0000 (09:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 20:51:19 +0000 (13:51 -0700)
commitf04e9459b1db2568c33e6404f7f1375abd42cfe3
treef8767568c6cc3d66e5c960bc34e539c96fd567e2
parent3e0a8f692171292c35c5f46ac55856e4c67e60e2
isp1760-hcd: move dequeued qtds to the front in qh

Make sure that dequeued urbs get handled first
by collect_qtds. To achieve that we better move them
up to the head in the qh list.

This for instance fixes hanging serial devices, which wait
for dequeued urbs to properly close their device node.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/isp1760-hcd.c