]> git.karo-electronics.de Git - mv-sheeva.git/commit
asoc/multi-component: fsl: fix exit and error paths in DMA and SSI drivers
authorTimur Tabi <timur@freescale.com>
Tue, 3 Aug 2010 22:55:28 +0000 (17:55 -0500)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 12 Aug 2010 13:00:17 +0000 (14:00 +0100)
commit87a0632b29410bab5c1783d7eb979c8d942d4209
tree16762ec323b99ead5ab618b05ce99da234950800
parent1a3c5a491af6756dbba6ee166a9dee72bb414ba8
asoc/multi-component: fsl: fix exit and error paths in DMA and SSI drivers

The error handling code in the OF probe function of the SSI driver is not
freeing all resources correctly.

Since the machine driver no longer calls the DMA driver to provide information
about the SSI, we don't need to keep a list of DMA objects any more.  In
addition, the fsl_soc_dma_remove() function is incorrectly removing *all*
DMA objects when it should only remove one.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/fsl_ssi.c