usb: dwc2: gadget: add vbus_session support
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 9 Jan 2015 12:39:02 +0000 (13:39 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:34:23 +0000 (15:34 -0600)
commit83d982234ee65900521e763161f409b29f89b8f6
tree70637ef3ebcb0d035c4fa45339010efe69ef6426
parent48b20bcb3b2e9b15be1ebb9b574b003cffb033d5
usb: dwc2: gadget: add vbus_session support

Enable phy driver to report vbus session. This allows us to remove
D+ pullup when vbus is not present.

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: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c