summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorb02247 <b02247@freescale.com>2012-05-14 09:54:27 +0800
committerb02247 <b02247@freescale.com>2012-05-14 09:54:27 +0800
commit7afdff149e1471023fc38c8aecd42082c1406faf (patch)
treed6d1e3531ca2ab6ea9c892d18fa56822b3444dde /drivers
parentc37cb9cfaec38a389f665f9b32a9dcf2e2efb6be (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 b6c7211ccd52..306dcdd0dc38 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -789,7 +789,7 @@ static int sdma_request_channel(struct sdma_channel *sdmac)
int channel = sdmac->channel;
int ret = -EBUSY;
- 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);
if (!sdmac->bd) {
ret = -ENOMEM;
goto out;