]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00182769 HDMI: No sound when playing audio in 480p mode
authorSandor Yu <R01008@freescale.com>
Thu, 17 May 2012 07:28:54 +0000 (15:28 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:51 +0000 (14:11 +0200)
commit91c5a150be5f0735ece4e38d795f32f99cea5bc1
tree94c7c37a03a29b80cb755f6fae22bb304a59b3b5
parent7dcefb1af3fd28ecfa5c55e64c466064f6887727
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>
drivers/mfd/mxc-hdmi-core.c
drivers/video/mxc_hdmi.c
include/linux/mfd/mxc-hdmi-core.h