diff options
author | Sandor Yu <R01008@freescale.com> | 2012-05-17 15:28:54 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:37:40 +0800 |
commit | 7ae3e273cb1c8fcfdffae303f45a036bb03ce297 (patch) | |
tree | 94c7c37a03a29b80cb755f6fae22bb304a59b3b5 /include | |
parent | 61d5f2c422f5b282342b7d0e73fdc91b490484c3 (diff) |
ENGR00182769 HDMI: No sound when playing audio in 480p mode
It is cause by HDMI audio driver can't get right pixel clock
from IPU driver if pixel clock source from HSP clock not from
DI clock.
HDMI driver get pixel clock by call clk_get_rate() function,
but the function return actually clock, in some videomode the
actually pixel clock is not right equal the pixel clock in CEA spec.
Get pixel clock from video mode struct instead of CCM register.
480P HDMI audio can work.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/mxc-hdmi-core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/mxc-hdmi-core.h b/include/linux/mfd/mxc-hdmi-core.h index 8681053d231f..6ed08d31b02c 100644 --- a/include/linux/mfd/mxc-hdmi-core.h +++ b/include/linux/mfd/mxc-hdmi-core.h @@ -39,7 +39,7 @@ unsigned int hdmi_irq_disable(int irq); void hdmi_set_sample_rate(unsigned int rate); void hdmi_set_dma_mode(unsigned int dma_running); void hdmi_init_clk_regenerator(void); -void hdmi_clk_regenerator_update_pixel_clock(void); +void hdmi_clk_regenerator_update_pixel_clock(u32 pixclock); void hdmi_set_edid_cfg(struct mxc_edid_cfg *cfg); void hdmi_get_edid_cfg(struct mxc_edid_cfg *cfg); |