usb: dwc3: gadget: implement gadget state tracking
authorFelipe Balbi <balbi@ti.com>
Mon, 19 Dec 2011 11:01:52 +0000 (13:01 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:12 +0000 (11:17 +0200)
commit14cd592f72ea1ce1a25d7a576a5ed6aa761456bc
tree7557811ad7c557a2944c23a24da4c387a0881737
parent49401f4169c0e5a1b38f1a676d6f12eecaf77485
usb: dwc3: gadget: implement gadget state tracking

make use of the previously introduced gadget->state
field.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c