summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorb02247 <b02247@freescale.com>2012-05-14 09:54:27 +0800
committerJason Liu <r64343@freescale.com>2013-06-17 08:45:00 +0800
commit3a5b7b9b4fc672e6d1b52e7514f26f1f0fb1b668 (patch)
tree315ac6206f4569b1ff9302c03b56fbddd6888d6f /drivers
parentd631a1645a058eefddee7cddb76fc6c7431ec74a (diff)
ENGR00181680-2 No audio when play 3 streams after 3~10 seconds sometimes
sdma: bd is bufferable dma buffer, interrupt handler can not get correct data after sdma script updated. Which will cause there is no interrupt after failed period number times in the interrupt handler. This is a workaround. Signed-off-by: b02247 <b02247@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/imx-sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 934307f4d931..15bc47633cee 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -926,7 +926,7 @@ static int sdma_request_channel(struct sdma_channel *sdmac)
sdmac->bd = sdma_iram_malloc(sizeof(sdmac->bd),
(unsigned long)&sdmac->bd_phys);
#else
- sdmac->bd = dma_alloc_coherent(NULL, PAGE_SIZE, &sdmac->bd_phys, GFP_KERNEL);
+ sdmac->bd = dma_alloc_noncached(NULL, PAGE_SIZE, &sdmac->bd_phys, GFP_KERNEL);
#endif
if (!sdmac->bd) {
ret = -ENOMEM;