diff options
| -rw-r--r-- | sound/soc/fsl/fsl_dma.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index 96bb92dd174c..6feb26500580 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c | |||
| @@ -823,12 +823,6 @@ static int fsl_dma_close(struct snd_pcm_substream *substream) | |||
| 823 | if (dma_private->irq) | 823 | if (dma_private->irq) |
| 824 | free_irq(dma_private->irq, dma_private); | 824 | free_irq(dma_private->irq, dma_private); |
| 825 | 825 | ||
| 826 | if (dma_private->ld_buf_phys) { | ||
| 827 | dma_unmap_single(dev, dma_private->ld_buf_phys, | ||
| 828 | sizeof(dma_private->link), | ||
| 829 | DMA_TO_DEVICE); | ||
| 830 | } | ||
| 831 | |||
| 832 | /* Deallocate the fsl_dma_private structure */ | 826 | /* Deallocate the fsl_dma_private structure */ |
| 833 | dma_free_coherent(dev, sizeof(struct fsl_dma_private), | 827 | dma_free_coherent(dev, sizeof(struct fsl_dma_private), |
| 834 | dma_private, dma_private->ld_buf_phys); | 828 | dma_private, dma_private->ld_buf_phys); |
