ARM: S5P: fix bug in spdif_clk_get_rate
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Fri, 19 Aug 2011 11:52:29 +0000 (20:52 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 19 Aug 2011 12:21:08 +0000 (21:21 +0900)
Should be passing the parent clk object when
calling for parent rate.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/clock.c

index 02af235298e2e1ff4f1e850afe3b67f0b43f9856..5f84a3f13ef9bb042eae6b85e96903ccdb2600a3 100644 (file)
@@ -192,7 +192,7 @@ unsigned long s5p_spdif_get_rate(struct clk *clk)
        if (IS_ERR(pclk))
                return -EINVAL;
 
-       rate = pclk->ops->get_rate(clk);
+       rate = pclk->ops->get_rate(pclk);
        clk_put(pclk);
 
        return rate;