mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
ARM: mx31moboard: 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>
This commit is contained in:
parent
d816c6e644
commit
8186064cfc
@ -507,7 +507,7 @@ static void mx31moboard_poweroff(void)
|
||||
struct clk *clk = clk_get_sys("imx2-wdt.0", NULL);
|
||||
|
||||
if (!IS_ERR(clk))
|
||||
clk_enable(clk);
|
||||
clk_prepare_enable(clk);
|
||||
|
||||
mxc_iomux_mode(MX31_PIN_WATCHDOG_RST__WATCHDOG_RST);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user