OSDN Git Service

clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998
authorJeffrey Hugo <jhugo@codeaurora.org>
Fri, 4 Jan 2019 16:50:15 +0000 (09:50 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 9 Jan 2019 18:57:29 +0000 (10:57 -0800)
commit5f2420ed218981f037910bd029c19ff35ad1839c
tree764de286cdc89ff612003541478041fa9c8c7902
parent0c8ff62504e3a667387e87889a259632c3199a86
clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998

The gcc_usb3_phy_pipe_clk is generated by the phy, but is also used by
the phy during init.  The clock needs to be enabled during the init
sequence, but may not be fully active until after the init sequence is
complete.  This causes a catch-22 if the clock status is checked during
enable.  As a result, skip the checks to avoid the troubling situation.

Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8998.c