diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-01-19 13:21:41 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-01-25 06:48:34 -0500 |
commit | 1149c74419179d57fdcd506424da2444755e65d9 (patch) | |
tree | 0bb48aa33cc2ae575a144cfbee8fa7f66577fb50 | |
parent | 9e4ed603e6ec71da9e0a7484a694f98dff869068 (diff) |
OMAPDSS: HDMI: Correct source of the pixel clock in ACR calculation
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>
-rw-r--r-- | drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c index a229ae71be79..9bbf9614fe0a 100644 --- a/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c +++ b/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c | |||
@@ -1137,7 +1137,7 @@ int hdmi_config_audio_acr(struct hdmi_ip_data *ip_data, | |||
1137 | { | 1137 | { |
1138 | u32 r; | 1138 | u32 r; |
1139 | u32 deep_color = 0; | 1139 | u32 deep_color = 0; |
1140 | u32 pclk = ip_data->cfg.timings.timings.pixel_clock; | 1140 | u32 pclk = ip_data->cfg.timings.pixel_clock; |
1141 | 1141 | ||
1142 | if (n == NULL || cts == NULL) | 1142 | if (n == NULL || cts == NULL) |
1143 | return -EINVAL; | 1143 | return -EINVAL; |