usb/isp1760: Clear TT buffer on interrupted low & full speed transfers
authorArvid Brodin <arvid.brodin@enea.com>
Mon, 22 Aug 2011 23:25:30 +0000 (01:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 00:05:27 +0000 (17:05 -0700)
commit74ad60292bf0108de9884c531d7ec3f65c206230
tree3796b48b5232ec8cb66da04f86e677edeb446070
parentd80cba6c53621ecdd768035f2988dc99addf12c2
usb/isp1760: Clear TT buffer on interrupted low & full speed transfers

When a low or full speed urb in progress is unlinked (or some other error
occurs), the buffer in the transaction translator (part of the hub) might end
up in an inconsistent state. This can make all further low and full speed
transactions fail, unless the buffer is cleared.

The bug can be seen when running the usbtest unlink tests as "set altsetting
to 0 failed, -110", and gets fixed by this patch.

Signed-off-by: Arvid Brodin <arvid.brodin@enea.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1760-hcd.c