]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: gadget: fix list_head usage
authorFelipe Balbi <balbi@ti.com>
Mon, 28 Feb 2011 08:44:50 +0000 (10:44 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 09:34:55 +0000 (11:34 +0200)
commitfe641b0e96b34a09c494dcaf99d23cb26bae6241
treed7c94d931b0ef9109da136a4c44bda603d0d6ecb
parent476587336670a2b5b9a8e0424015b19a29b60b71
usb: musb: gadget: fix list_head usage

commit c16d2ac88e9cb3fb627997f420bdbcc821202b9d
(usb: musb: gadget: do not poke with gadget's list_head)
fixed a bug in musb where it was corrupting the list_head
which is supposed to be used by gadget drivers. While
doing that, I forgot to fix the usage in musb_gadget_dequeue()
method. Fix that.

Reported-by: Pavol Kurina <pavol.kurina@emsys.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c