usb: dwc2: gadget: use reset detect interrupt
authorGregory Herrero <gregory.herrero@intel.com>
Wed, 29 Apr 2015 20:09:06 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:19:08 +0000 (15:19 -0500)
commit4876886fb95f93c8b09381ffbdac969d1a1fee0d
treea6e44520258f75226e91d44679426369ab22c756
parentecb176c63ac49ddcea83b0171ead1372bb78c165
usb: dwc2: gadget: use reset detect interrupt

ResetDet interrupt is used to detect a reset of the bus
while the controller is suspended.
This may happens for example when using Command Verifier.

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c