msm: clock-local: Implement rcg_clk_reset
Instead of duplicating the simple soc_clk_reset() function for
each SoC's rcg clock, implement a generic rcg clock reset
function. 7x30 is different, but that's ok because we already
have a separate reset function for 7x30.
Change-Id: Ib9e63d5f7361ed0e89392c5773d7e30f62e153a8
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 2123513..31f64ce 100644
--- a/arch/arm/mach-msm/clock-local.h
+++ b/arch/arm/mach-msm/clock-local.h
@@ -150,6 +150,7 @@
long rcg_clk_round_rate(struct clk *clk, unsigned long rate);
struct clk *rcg_clk_get_parent(struct clk *c);
int rcg_clk_handoff(struct clk *c);
+int rcg_clk_reset(struct clk *clk, enum clk_reset_action action);
/**
* struct cdiv_clk - integer divider clock with external source selection