[alsa-devel] [PATCH] asoc/multi-component: fsl: fix exit and error paths in DMA and SSI drivers
Liam Girdwood
lrg at slimlogic.co.uk
Wed Aug 4 01:35:09 CEST 2010
On Tue, 2010-08-03 at 17:55 -0500, Timur Tabi wrote:
> 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 at freescale.com>
> ---
> sound/soc/fsl/fsl_dma.c | 23 +++++++----------------
> sound/soc/fsl/fsl_ssi.c | 29 ++++++++++++++++-------------
> 2 files changed, 23 insertions(+), 29 deletions(-)
>
Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
More information about the Alsa-devel
mailing list