]> 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)
commita0a4aa862f25815e9a65f8eeb2ca537bf96f162c
treedc2b093dd7e91a70b0cebb211ee9fbf0e48cab5a
parentfb869ca981c169ca9b07bbf1119e74f2cc3b040a
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