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.h b/arch/arm/mach-msm/clock-local.h
index ec2462a..9887bb1 100644
--- a/arch/arm/mach-msm/clock-local.h
+++ b/arch/arm/mach-msm/clock-local.h
@@ -109,6 +109,8 @@
};
int branch_reset(struct branch *clk, enum clk_reset_action action);
+void __branch_clk_enable_reg(const struct branch *clk, const char *name);
+u32 __branch_clk_disable_reg(const struct branch *clk, const char *name);
/*
* Generic clock-definition struct and macros