ARM: S5P: fix bug in spdif_clk_get_rate
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>
This commit is contained in:
parent
d2edddf2b2
commit
5d747c6f2c
@ -192,7 +192,7 @@ unsigned long s5p_spdif_get_rate(struct clk *clk)
|
|||||||
if (IS_ERR(pclk))
|
if (IS_ERR(pclk))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
rate = pclk->ops->get_rate(clk);
|
rate = pclk->ops->get_rate(pclk);
|
||||||
clk_put(pclk);
|
clk_put(pclk);
|
||||||
|
|
||||||
return rate;
|
return rate;
|
||||||
|
Loading…
Reference in New Issue
Block a user