1
0
Fork 0

ARM: mxc: arch_reset: add clk_prepare/clk_unprepare

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>
hifive-unleashed-5.1
Richard Zhao 2011-11-15 14:48:01 +08:00 committed by Sascha Hauer
parent 8f33eed084
commit bcab50102c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}