[PATCH 16/22] OMAP4 clock: Support clk_set_parent

Paul Walmsley paul at pwsan.com
Tue May 18 22:18:56 EDT 2010


From: Rajendra Nayak <rnayak at ti.com>

Remove the hack put in place while clock framework was still not in
place for OMAP4.

Signed-off-by: Rajendra Nayak <rnayak at ti.com>
Signed-off-by: Paul Walmsley <paul at pwsan.com>
---
 arch/arm/plat-omap/clock.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c
index c9cd98a..7190cbd 100644
--- a/arch/arm/plat-omap/clock.c
+++ b/arch/arm/plat-omap/clock.c
@@ -138,11 +138,6 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
 	unsigned long flags;
 	int ret = -EINVAL;
 
-	if (cpu_is_omap44xx()) {
-		WARN(1, "clock: %s: not supported yet on OMAP4\n", __func__);
-		return 0;
-	}
-
 	if (clk == NULL || IS_ERR(clk) || parent == NULL || IS_ERR(parent))
 		return ret;
 





More information about the linux-arm-kernel mailing list