Loading
usb: phy: qusb: Make sure to enable VDD on USB Cable connect
Commit 55b93e25 ("USB: Add support to invoke DP and DM sourcing and pulsing") has moved usage of DP_DM based functionality from controller driver to QUSB PHY driver. With this change, VDD is not being turned ON to QUSB PHY on connecting USB cable. Hence fix this issue to make sure that toggle_vdd flag is considered to check previous status of power_enabled flag as DP_DM based LDOs functionality is already being check against rm_pulldown flag. Change-Id: Ideff32ebef07e5be9e9fd72a6e803e636cf94287 Signed-off-by:Mayank Rana <mrana@codeaurora.org>