linux/drivers/clk/qcom
Stephen Boyd e5bf1991ea clk: qcom: msm8960: Fix dsi1/2 halt bits
The halt bits for these clocks seem wrong. I get the following
warning while booting on an msm8960-cdp:

WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:97 clk_branch_toggle+0xd0/0x138()
dsi1_clk status stuck at 'on'
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.3.0-rc3-00113-g5532cfb567fe #110
Hardware name: Qualcomm (Flattened Device Tree)
[<c0216984>] (unwind_backtrace) from [<c02138f8>] (show_stack+0x10/0x14)
[<c02138f8>] (show_stack) from [<c04a525c>] (dump_stack+0x70/0xbc)
[<c04a525c>] (dump_stack) from [<c0223c70>] (warn_slowpath_common+0x78/0xb4)
[<c0223c70>] (warn_slowpath_common) from [<c0223d40>] (warn_slowpath_fmt+0x30/0x40)
[<c0223d40>] (warn_slowpath_fmt) from [<c05fc2dc>] (clk_branch_toggle+0xd0/0x138)
[<c05fc2dc>] (clk_branch_toggle) from [<c05f3f3c>] (clk_disable_unused_subtree+0x98/0x1b0)
[<c05f3f3c>] (clk_disable_unused_subtree) from [<c05f3ec4>] (clk_disable_unused_subtree+0x20/0x1b0)
[<c05f3ec4>] (clk_disable_unused_subtree) from [<c05f5474>] (clk_disable_unused+0x58/0xd8)
[<c05f5474>] (clk_disable_unused) from [<c0209710>] (do_one_initcall+0xac/0x1ec)
[<c0209710>] (do_one_initcall) from [<c0991db4>] (kernel_init_freeable+0x11c/0x1e8)
[<c0991db4>] (kernel_init_freeable) from [<c0727ae0>] (kernel_init+0x8/0xec)
[<c0727ae0>] (kernel_init) from [<c0210238>] (ret_from_fork+0x14/0x3c)

Fix the status bits and the errors go away.

Fixes: 5532cfb567 ("clk: qcom: mmcc-8960: Add DSI related clocks")
Acked-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2015-10-27 13:10:13 -07:00
..
clk-branch.c clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw) 2015-08-24 16:49:12 -07:00
clk-branch.h clk: qcom: Add support for branches/gate clocks 2014-01-16 12:01:01 -08:00
clk-pll.c clk: qcom: Convert to clk_hw based provider APIs 2015-08-24 16:48:52 -07:00
clk-pll.h clk: qcom: Add support for SR2 PLLs 2015-07-07 17:19:58 -07:00
clk-rcg2.c clk: qcom: Add support for RCGs with shared branches 2015-09-17 12:35:59 -07:00
clk-rcg.c clk: qcom: clk-rcg: Add customized clk_ops for DSI RCGs 2015-10-16 15:08:40 -07:00
clk-rcg.h clk: qcom: clk-rcg: Add customized clk_ops for DSI RCGs 2015-10-16 15:08:40 -07:00
clk-regmap-divider.c clk: qcom: Add support for regmap divider clocks 2015-01-27 11:49:00 -08:00
clk-regmap-divider.h clk: qcom: Add support for regmap divider clocks 2015-01-27 11:49:00 -08:00
clk-regmap-mux.c clk: qcom: Add simple regmap based muxes 2015-01-27 11:49:09 -08:00
clk-regmap-mux.h clk: qcom: Add simple regmap based muxes 2015-01-27 11:49:09 -08:00
clk-regmap.c clk: qcom: Add a regmap type clock struct 2014-01-16 12:00:58 -08:00
clk-regmap.h clk: qcom: Add a regmap type clock struct 2014-01-16 12:00:58 -08:00
common.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
common.h clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gcc-apq8084.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gcc-ipq806x.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gcc-msm8660.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gcc-msm8916.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gcc-msm8960.c clk: qcom: create virtual child device for TSENS 2015-10-08 23:53:03 -07:00
gcc-msm8974.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
gdsc.c clk: qcom: gdsc: Add support for ON only state 2015-09-16 15:22:40 -07:00
gdsc.h clk: qcom: gdsc: Add support for ON only state 2015-09-16 15:22:40 -07:00
Kconfig clk: qcom: Move gdsc config outside COMMON_CLK_QCOM config 2015-10-08 23:53:02 -07:00
lcc-ipq806x.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
lcc-msm8960.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
Makefile clk: qcom: Add support for GDSCs 2015-09-16 15:22:35 -07:00
mmcc-apq8084.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
mmcc-msm8960.c clk: qcom: msm8960: Fix dsi1/2 halt bits 2015-10-27 13:10:13 -07:00
mmcc-msm8974.c clk: qcom: Drop calls to qcom_cc_remove() 2015-10-08 23:53:01 -07:00
reset.c clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00
reset.h clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00