usb: dwc2: gadget: register gadget handle to the phy
authorGregory Herrero <gregory.herrero@intel.com>
Fri, 9 Jan 2015 12:38:41 +0000 (13:38 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 21:32:28 +0000 (15:32 -0600)
commitf6c015922c1dc99c53fb2ca95361086e65897b7c
treea51d85c930890201995da43ee1fabcf4832419de
parent487d60cc09237d24f93ec2892cd8437ae689d7e0
usb: dwc2: gadget: register gadget handle to the phy

Bind peripheral controller to the phy on udc_start. Unbind on
udc_stop.

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