msm: clock-8960: Fix CSI pix and rdi clocks
The pix and rdi clocks are glitch free muxes without a root
enable before the mux. This requires both inputs to be clocking
before the mux can be switched, otherwise the mux will get stuck.
Create a new clock type for these clocks so we can properly
switch the mux selection.
Change-Id: I194c1545c397c06c1260b635738d37a3747e3800
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/clock-local.c b/arch/arm/mach-msm/clock-local.c
index 473b439..ca25802 100644
--- a/arch/arm/mach-msm/clock-local.c
+++ b/arch/arm/mach-msm/clock-local.c
@@ -273,7 +273,7 @@
return invert ? !status_bit : status_bit;
}
-static void __branch_clk_enable_reg(const struct branch *clk, const char *name)
+void __branch_clk_enable_reg(const struct branch *clk, const char *name)
{
u32 reg_val;
@@ -344,7 +344,7 @@
}
/* Perform any register operations required to disable the branch. */
-static u32 __branch_clk_disable_reg(const struct branch *clk, const char *name)
+u32 __branch_clk_disable_reg(const struct branch *clk, const char *name)
{
u32 reg_val;