usb: dwc2: gadget: fix pullup handling
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 9 Jan 2015 12:39:07 +0000 (13:39 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:34:45 +0000 (15:34 -0600)
commit6d13673e6bc5b666913e92ca59518a449da3b4a9
treea4abeb50bbb3658e0e05dc1e172507f57baaf20e
parent7fcbc95c1fa4d6e3f4645f9552d358f07ab93ad1
usb: dwc2: gadget: fix pullup handling

Gadget must be informed about disconnection when pullup is
removed.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c