diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-10-20 13:36:59 +0300 |
---|---|---|
committer | Xavier Boudet <x-boudet@ti.com> | 2011-10-20 13:38:08 +0200 |
commit | a5c34b2d81af3624f0dd8bf1b296da47b3c3298e (patch) | |
tree | f5d372407de90a4ac9ffc731ce368d1bf905b355 | |
parent | 5aba44d789cad12df16a25d8d624ead8ead337d6 (diff) |
OMAPDSS: HDMI: fix returned HDMI pixel clock
hdmi_get_pixel_clock() returns the pixel clock in Hz, but the pck is
stored as kHz. This means the return value has to be multiplied by 1000,
not by 10000 as the code did.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index 35f0c4498f73..dc6256dc3d9d 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -978,7 +978,7 @@ static void update_hdmi_timings(struct hdmi_config *cfg, unsigned long hdmi_get_pixel_clock(void) { /* HDMI Pixel Clock in Mhz */ - return hdmi.cfg.timings.timings.pixel_clock * 10000; + return hdmi.cfg.timings.timings.pixel_clock * 1000; } static void hdmi_compute_pll(struct omap_dss_device *dssdev, int phy, |