usb: musb: gadget: fix list_head usage
commit4cbbf084436caddeb815534df4ebaa018c970196
authorFelipe Balbi <balbi@ti.com>
Mon, 28 Feb 2011 08:44:50 +0000 (28 10:44 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 09:34:55 +0000 (1 11:34 +0200)
treed7c94d931b0ef9109da136a4c44bda603d0d6ecb
parentd105e74eff7f8197b4d8e104e347ffbc5c3989b8
usb: musb: gadget: fix list_head usage

commit ad1adb89a0d9410345d573b6995a1fa9f9b7c74a
(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