Skip to content

Commit

Permalink
clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeffrey Hugo authored and Stephen Boyd committed Jan 9, 2019
1 parent 0c8ff62 commit 5f2420e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/qcom/gcc-msm8998.c
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,7 @@ static struct clk_branch gcc_usb3_phy_aux_clk = {

static struct clk_branch gcc_usb3_phy_pipe_clk = {
.halt_reg = 0x50004,
.halt_check = BRANCH_HALT,
.halt_check = BRANCH_HALT_SKIP,
.clkr = {
.enable_reg = 0x50004,
.enable_mask = BIT(0),
Expand Down

0 comments on commit 5f2420e

Please sign in to comment.