clk: qcom: Add support for BRANCH_HALT_SKIP flag for branch clocks
authorAmit Nischal <anischal@codeaurora.org>
Mon, 30 Apr 2018 16:20:09 +0000 (21:50 +0530)
committerStephen Boyd <sboyd@kernel.org>
Tue, 8 May 2018 18:22:55 +0000 (11:22 -0700)
commit7d99ced8f4c65267836db69ec0790e878ef11b3b
tree0f26d28cfd08ff283e332c6696ed22bf7bf34aeb
parent88051f55de502811472fe25d4a710bc7e6e60fd1
clk: qcom: Add support for BRANCH_HALT_SKIP flag for branch clocks

There could be few clocks where the clock status bit is not
required to be polled as the clock on/off would be controlled
by enabling/disabling external source. Add support for the
same by introducing new flag named as 'BRANCH_HALT_SKIP'.

Signed-off-by: Amit Nischal <anischal@codeaurora.org>
[sboyd@kernel.org: Rename flag to BRANCH_HALT_SKIP]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-branch.c
drivers/clk/qcom/clk-branch.h