clk: msm8996-gcc: Mark halt check as no-op for USB/PCIE pipe_clk
authorManu Gautam <mgautam@codeaurora.org>
Wed, 2 May 2018 21:06:08 +0000 (02:36 +0530)
committerStephen Boyd <sboyd@kernel.org>
Fri, 1 Jun 2018 18:36:15 +0000 (11:36 -0700)
commit096abdc296f1a4b36c4429934f8c218e0baca815
tree28a9971494ffe6927648e949917cf0a0567fead2
parent7d99ced8f4c65267836db69ec0790e878ef11b3b
clk: msm8996-gcc: Mark halt check as no-op for USB/PCIE pipe_clk

The USB and PCIE pipe clocks are sourced from external clocks
inside the QMP USB/PCIE PHYs. Enabling or disabling of PIPE RCG
clocks is dependent on PHY initialization sequence hence
update halt_check to BRANCH_HALT_SKIP for these clocks so
that clock status bit is not polled when enabling or disabling
the clocks. It allows to simplify PHY client driver code which
is both user and source of the pipe_clk and avoid error logging
related status check on clk_disable/enable.

Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8996.c