usb: phy: Fix multiple regulator enable calls
During the case of disconnect followed by a connect,
the current HS PHY driver enables the regulators during
init as well as resume resulting in multiple regulator
enable votes.
Fix this by enabling regulators only during resume.
While at it fix the incorrect debug log showing suspended
on both resume and suspend.
Change-Id: I0b4a2ab1d75208199b14099726d12d4880dfa0c6
Signed-off-by:
Sriharsha Allenki <sallenki@codeaurora.org>
Loading
Please register or sign in to comment