diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-05-13 00:11:06 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-13 00:11:06 +0200 |
commit | eae0185a9677d3ff0c1781ee196f2ef42deb0ea1 (patch) | |
tree | 15ed6ba564cd04b4ac7235f85ea7489d4eeaaa9b /arch/arm/plat-spear/time.c | |
parent | 93c6d8927fa692faef3d7d945bd4fe84b0185ad4 (diff) | |
parent | 5df33a62c4a028d6fc7f2dcc159827d09b7334b8 (diff) | |
download | op-kernel-dev-eae0185a9677d3ff0c1781ee196f2ef42deb0ea1.zip op-kernel-dev-eae0185a9677d3ff0c1781ee196f2ef42deb0ea1.tar.gz |
Merge branch 'spear/clock' into next/clock
Viresh Kumar <viresh.kumar@st.com> writes:
This is rebased over a (merge of Mike's/clk-next & SPEAr's DT) + Russell's
patch: CLKDEV: provide helpers for common clock framework rebased over them.
* spear/clock:
SPEAr: Switch to common clock framework
SPEAr: Call clk_prepare() before calling clk_enable
SPEAr: clk: Add General Purpose Timer Synthesizer clock
SPEAr: clk: Add Fractional Synthesizer clock
SPEAr: clk: Add Auxiliary Synthesizer clock
SPEAr: clk: Add VCO-PLL Synthesizer clock
Conflicts:
drivers/clk/Makefile
[Arnd: rebased again without the spear/dt branch]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-spear/time.c')
-rw-r--r-- | arch/arm/plat-spear/time.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/plat-spear/time.c b/arch/arm/plat-spear/time.c index abb5bde..1c94989 100644 --- a/arch/arm/plat-spear/time.c +++ b/arch/arm/plat-spear/time.c @@ -219,10 +219,10 @@ void __init spear_setup_timer(void) goto err_iomap; } - ret = clk_enable(gpt_clk); + ret = clk_prepare_enable(gpt_clk); if (ret < 0) { - pr_err("%s:couldn't enable gpt clock\n", __func__); - goto err_clk; + pr_err("%s:couldn't prepare-enable gpt clock\n", __func__); + goto err_prepare_enable_clk; } spear_clockevent_init(); @@ -230,7 +230,7 @@ void __init spear_setup_timer(void) return; -err_clk: +err_prepare_enable_clk: clk_put(gpt_clk); err_iomap: iounmap(gpt_base); |