aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/mxc-hdmi-core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mfd/mxc-hdmi-core.c b/drivers/mfd/mxc-hdmi-core.c
index 2b0853c0375d..52dc5ef665b5 100644
--- a/drivers/mfd/mxc-hdmi-core.c
+++ b/drivers/mfd/mxc-hdmi-core.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 2 * Copyright (C) 2011-2014 Freescale Semiconductor, Inc.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
@@ -547,6 +547,8 @@ EXPORT_SYMBOL(hdmi_init_clk_regenerator);
547void hdmi_clk_regenerator_update_pixel_clock(u32 pixclock) 547void hdmi_clk_regenerator_update_pixel_clock(u32 pixclock)
548{ 548{
549 549
550 if (!pixclock)
551 return;
550 /* Translate pixel clock in ps (pico seconds) to Hz */ 552 /* Translate pixel clock in ps (pico seconds) to Hz */
551 pixel_clk_rate = PICOS2KHZ(pixclock) * 1000UL; 553 pixel_clk_rate = PICOS2KHZ(pixclock) * 1000UL;
552 hdmi_set_clk_regenerator(); 554 hdmi_set_clk_regenerator();