]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: HDMI: Correct source of the pixel clock in ACR calculation
authorRicardo Neri <ricardo.neri@ti.com>
Thu, 19 Jan 2012 18:21:41 +0000 (12:21 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 25 Jan 2012 11:48:34 +0000 (13:48 +0200)
Due to changes in struct hdmi_config, the pixel clock has to be obtained
differently.

The pixel clock is needed to calculate the CTS value as defined in the
HDMI specification.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c

index a229ae71be797f9ac9996ff084e2204c1406deef..9bbf9614fe0af0ff46a0dcb83e0c811d305543f3 100644 (file)
@@ -1137,7 +1137,7 @@ int hdmi_config_audio_acr(struct hdmi_ip_data *ip_data,
 {
        u32 r;
        u32 deep_color = 0;
-       u32 pclk = ip_data->cfg.timings.timings.pixel_clock;
+       u32 pclk = ip_data->cfg.timings.pixel_clock;
 
        if (n == NULL || cts == NULL)
                return -EINVAL;