usb: musb: gadget: do not poke with gadget's list_head
authorFelipe Balbi <balbi@ti.com>
Wed, 16 Feb 2011 10:40:05 +0000 (12:40 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 17 Feb 2011 19:11:46 +0000 (21:11 +0200)
commitad1adb89a0d9410345d573b6995a1fa9f9b7c74a
treeb07349993d6eec5dff875f5517b0c79667906a8b
parent63eed2b52494e35aaf38ac2db537d6ea0a55b0da
usb: musb: gadget: do not poke with gadget's list_head

struct usb_request's list_head is supposed to be
used only by gadget drivers, but musb is abusing
that. Give struct musb_request its own list_head
and prevent musb from poking into other driver's
business.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_gadget.h
drivers/usb/musb/musb_gadget_ep0.c