]> git.baikalelectronics.ru Git - kernel.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)
commit602ae43b43c1c02dd413ab2fede54c909fa03163
tree16762ec323b99ead5ab618b05ce99da234950800
parent43a14aeb56f91dc76f4f0bb9a1554607ca1e5651
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