diff options
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index af06753eb809..d90d2f11071b 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -548,9 +548,9 @@ static void __init hdmi_init_pm_clock(void) | |||
548 | clk_get_rate(&sh7372_pllc2_clk)); | 548 | clk_get_rate(&sh7372_pllc2_clk)); |
549 | 549 | ||
550 | rate = clk_round_rate(&sh7372_pllc2_clk, 594000000); | 550 | rate = clk_round_rate(&sh7372_pllc2_clk, 594000000); |
551 | if (rate < 0) { | 551 | if (rate <= 0) { |
552 | pr_err("Cannot get suitable rate: %ld\n", rate); | 552 | pr_err("Cannot get suitable rate: %ld\n", rate); |
553 | ret = rate; | 553 | ret = -EINVAL; |
554 | goto out; | 554 | goto out; |
555 | } | 555 | } |
556 | 556 | ||