Skip to content

Commit

Permalink
ARM: mxc: arch_reset: add clk_prepare/clk_unprepare
Browse files Browse the repository at this point in the history
It's for migrating to generic clk framework API.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Richard Zhao authored and Sascha Hauer committed Feb 1, 2012
1 parent 8f33eed commit bcab501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void mxc_restart(char mode, const char *cmd)

clk = clk_get_sys("imx2-wdt.0", NULL);
if (!IS_ERR(clk))
clk_enable(clk);
clk_prepare_enable(clk);
wcr_enable = (1 << 2);
}

Expand Down

0 comments on commit bcab501

Please sign in to comment.