summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-08-11 15:36:20 +0800
committerChen Liangjun <b36089@freescale.com>2012-08-13 16:04:48 +0800
commit3230533766cc3feba91edbc2e209744158729606 (patch)
treea5ca72fcf7a2bc0404e7613ab8feea2cad44fe73 /sound
parent3549c7dcdef945b149d55d776076a29526e491fd (diff)
ENGR00220181-2 HDMI SDMA: workround for HDMI SDMA audio no sound issue
Issue: When playback HDMI audio in SDMA stress test, HDMI audio may stop caused by SDMA channel's failing to work. While checking the SDMA register and HDMI module stauts, we found that SDMA fall to an unknown error state. The issue is detected both in RIGEL TO1.1 and ARIK TO1.2. This patch introduces a workround for this issue: For the memory passed to SDMA core, HDMI driver would allocate it with the attribute of C=0, B=0 instead of C=0, B=1. This patch have be tested in RIGEL TO1.1 for about 60 hours, no issue happens. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/imx-hdmi-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-hdmi-dma.c b/sound/soc/imx/imx-hdmi-dma.c
index 18e3a016cca8..f0afcf1ac52b 100644
--- a/sound/soc/imx/imx-hdmi-dma.c
+++ b/sound/soc/imx/imx-hdmi-dma.c
@@ -1337,7 +1337,7 @@ static int __devinit imx_soc_platform_probe(struct platform_device *pdev)
if (hdmi_SDMA_check()) {
/*To alloc a buffer non cacheable for hdmi script use*/
hdmi_dma_priv->hdmi_sdma_t =
- dma_alloc_coherent(NULL,
+ dma_alloc_noncacheable(NULL,
sizeof(struct hdmi_sdma_script_data),
&hdmi_dma_priv->phy_hdmi_sdma_t,
GFP_KERNEL);