]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl: remove unnecessary call to dma_unmap_single
authorTimur Tabi <timur@freescale.com>
Fri, 14 Sep 2012 21:14:36 +0000 (16:14 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Sep 2012 02:32:44 +0000 (22:32 -0400)
commite01f978de1b9aa75c8c8ec117a903f0c2372d614
treedc2b093dd7e91a70b0cebb211ee9fbf0e48cab5a
parenta471a279f07a1c5c9041d3492bb4299082e39cc5
ASoC: fsl: remove unnecessary call to dma_unmap_single

Remove a call to dma_unmap_single() from the PowerPC ASoC DMA driver.  The
buffer is allocated and not actually mapped, so the unmap call doesn't
make sense.  It was probably left over from some early version of the driver.

This bug was unnoticed for so long because the DMA mapping functions normally
don't do anything on PowerPC.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_dma.c