usb: dwc3: gadget: implement gadget state tracking

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

Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Balbi 2011-12-19 13:01:52 +02:00
commit 14cd592f72
2 changed files with 13 additions and 4 deletions