Skip to content

Commit

Permalink
ARM: S5P: fix bug in spdif_clk_get_rate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Naveen Krishna Chatradhi authored and kgene committed Aug 19, 2011
1 parent d2edddf commit 5d747c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-s5p/clock.c
Expand Up @@ -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;
Expand Down

0 comments on commit 5d747c6

Please sign in to comment.