From a684b785321acc7043307b537f7622cdc237c7d0 Mon Sep 17 00:00:00 2001 From: Chen Liangjun Date: Fri, 4 May 2012 17:49:51 +0800 Subject: ENGR00181697 HDMI: fix ahb bus error bug In ARIK, to prevent noise cause by false triggered burst, we reduce the incr type to 4. and the change may cause bus_error because a burst may unexpectly stop and thus an AHB bus error happens. Reset HDMI Audio FIFO state to prevent AHB bus error. Signed-off-by: Chen Liangjun --- sound/soc/imx/imx-hdmi-dma.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sound') diff --git a/sound/soc/imx/imx-hdmi-dma.c b/sound/soc/imx/imx-hdmi-dma.c index ac7ac5d6e3fb..d391267c108b 100644 --- a/sound/soc/imx/imx-hdmi-dma.c +++ b/sound/soc/imx/imx-hdmi-dma.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include @@ -883,6 +884,9 @@ static int hdmi_dma_trigger(struct snd_pcm_substream *substream, int cmd) } dumpregs(); + hdmi_fifo_reset(); + udelay(1); + hdmi_dma_priv->tx_active = true; hdmi_dma_start(); hdmi_dma_irq_mask(0); -- cgit v1.2.3