usb: phy: fix phy clock initialization
In order to avoid warnings during the kernel bring-up
flow, it is necessary to enable the voltage regulator
prior to enabling the clock. Since the regulator
is enabled by the USB controller's probe function,
the call to msm_ssphy_qmp_init_clocks() is postponed
until after the QPM PHY's probe function.
In addition, added a delay before setting usb3_pipe_clk
to 125MHz until after the PHY finishes its reset sequence.
Change-Id: I6f09787028a4bf691844ea42fc75e413773f6651
Signed-off-by:
Dov Levenglick <dovl@codeaurora.org>
Loading
Please register or sign in to comment