ASoC: fsl: remove unnecessary call to dma_unmap_single
commitd55438beb2329493cb54df5175d83be65a8d5100
authorTimur Tabi <timur@freescale.com>
Fri, 14 Sep 2012 21:14:36 +0000 (14 16:14 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Sep 2012 02:32:44 +0000 (18 22:32 -0400)
treedc2b093dd7e91a70b0cebb211ee9fbf0e48cab5a
parent13c57e5b868b4f023f6436d8c6a079eaffd7f3a8
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