]> git.baikalelectronics.ru Git - kernel.git/commit
usb/isp1760: Fix bug preventing the unlinking of control urbs
authorArvid Brodin <arvid.brodin@enea.com>
Fri, 17 Jun 2011 16:45:37 +0000 (18:45 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2011 20:46:43 +0000 (13:46 -0700)
commit91fb2932c73d928fb7d57f3795c5a6f330698e2e
tree12e4573f1a411fd162294fb54a39aadfd3153cd4
parent9453c321f4ce60bfb1e2f36076b0308b6409846f
usb/isp1760: Fix bug preventing the unlinking of control urbs

Both control and bulk transfers use isp1760 slots of type ATL, but the
driver unlink code for ATL slots only acts on urbs describing a bulk
transfer, letting the code for INT slots take care of the unlink instead,
which often ended up removing the interrupt transfer for root hub events
instead. That's not good, and gets fixed by this patch.

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