usb: dwc3: gadget: set state to NOT_ATTACHED on disconnect_irq
authorFelipe Balbi <balbi@ti.com>
Fri, 10 Oct 2014 20:24:00 +0000 (15:24 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:00 +0000 (10:01 -0600)
whenever we get a Disconnect Interrupt, we should
make sure to update out udc state to NOT_ATTACHED,
otherwise sysfs will show wrong values.

Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found