[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1321339689-25256-7-git-send-email-richard.zhao@linaro.org>
Date: Tue, 15 Nov 2011 14:48:01 +0800
From: Richard Zhao <richard.zhao@...aro.org>
To: <linux-arm-kernel@...ts.infradead.org>,
<linux-i2c@...r.kernel.org>, <linux-mmc@...r.kernel.org>,
<netdev@...r.kernel.org>, <linux-serial@...r.kernel.org>
CC: <linux@....linux.org.uk>, <amit.kucheria@...onical.com>,
<kernel@...gutronix.de>, <ben-linux@...ff.org>, <cjb@...top.org>,
<alan@...ux.intel.com>, <eric.miao@...aro.org>,
<richard.zhao@...aro.org>
Subject: [PATCH V4 06/14] 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@...aro.org>
---
arch/arm/plat-mxc/system.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c
index 9dad8dc..a667adc 100644
--- a/arch/arm/plat-mxc/system.c
+++ b/arch/arm/plat-mxc/system.c
@@ -54,7 +54,7 @@ void arch_reset(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);
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists