Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89e5ab26 authored by Rajendra Nayak's avatar Rajendra Nayak Committed by Paul Walmsley
Browse files

OMAP4 clock: Support clk_set_parent



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

Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent fe894d56
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;