clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
authorRobert Marko <robimarko@gmail.com>
Sun, 15 May 2022 21:00:43 +0000 (23:00 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Jun 2022 23:06:13 +0000 (18:06 -0500)
commit2bd357e698207e2e65db03007e4be65bf9d6a7b3
treed6c681700854b97bd2287a46347afd9eb365088d
parent74521205b64030b1321ccc04372729cfd2800996
clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks

Currently, attempting to enable the UBI clocks will cause the stuck at
off warning to be printed and clk_enable will fail.

[   14.936694] gcc_ubi1_ahb_clk status stuck at 'off'

Downstream 5.4 QCA kernel has fixed this by seting the BRANCH_HALT_DELAY
flag on UBI clocks, so lets do the same.

Fixes: 5736294aef83 ("clk: qcom: ipq8074: add NSS clocks")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220515210048.483898-6-robimarko@gmail.com
drivers/clk/qcom/gcc-ipq8074.c