]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc16d2ac88e9cb3fb627997f420bdbcc821202b9d
treeb07349993d6eec5dff875f5517b0c79667906a8b
parentcc5e3c143125d967bea685f5c9ca5e07f914257e
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