]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP:MUSB: Corrects urb unlink function path
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Thu, 11 Sep 2008 08:53:21 +0000 (11:53 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:58 +0000 (14:40 -0700)
commit8f794d5efee17937170445005faf3bf89bd962ec
tree9f2f1928a36b4fb7e05f79e0c694382713dc8c92
parent1a6857f1534aa3c0dd847c2c6f0b6218326776d1
OMAP:MUSB: Corrects urb unlink function path

Fixes kernel panic while ISO IN transfer is aborted.Replaced
usb_hcd_unlink_urb_from_ep() from musb_giveback() to __musb_giveback()
to make sure urb is unlinked before giveback when __musb_giveback() is
called from musb_urb_dequeue().

Acquired musb->lock() before usb_hcd_unlink_urb_from_ep() within in
enqueue path.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_host.c