usb: xhci-dwc3: Power on USB PHY before using
authorVignesh R <vigneshr@ti.com>
Wed, 7 Mar 2018 09:20:08 +0000 (14:50 +0530)
committerMarek Vasut <marex@denx.de>
Sat, 17 Mar 2018 02:19:08 +0000 (03:19 +0100)
commit7d4e4d30631ba9350a18ab2243e749d583b402ab
tree737ff1a19e00fc059ab66935c7ef8296ce2592bd
parent42637fdae833f8c3e8a0270ea7e74152cbd8ef38
usb: xhci-dwc3: Power on USB PHY before using

It is wrong that expect .phy_init() to also power on the PHY. Therefore,
explicitly, call generic_phy_power_on() after generic_phy_power_init() in
order to power on PHY before using it.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-dwc3.c