]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1e2f27b1ef1e6216be442d9a6fdc781dff569cc
treed6c681700854b97bd2287a46347afd9eb365088d
parentadd786e7f86e953d89bb006314bc9427dfa76618
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: 054e59f95fbe ("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