WSL2-Linux-Kernel/sound/soc/fsl
Timur Tabi 0cd114fff9 ASoC: fsl: fix initialization of DMA buffers
The DMA (PCM) driver used by some Freescale PowerPC supports separate DAIs
for playback and capture, so DMA buffers should be allocated only for the
initialized streams.  Instead of checking for the number of active channels,
which apparently is not reliable, check to see if the actual stream object
exists.

Also provide a better name for the DMA interrupt.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-06-09 11:53:11 +01:00
..
Kconfig ASoC: add support for the Freescale P1022 DS reference board 2010-08-20 12:14:48 +01:00
Makefile ASoC: add support for the Freescale P1022 DS reference board 2010-08-20 12:14:48 +01:00
efika-audio-fabric.c ASoC: efika-audio-fabric: fix resource leak in efika_fabric_init error path 2010-11-25 11:08:13 +00:00
fsl_dma.c ASoC: fsl: fix initialization of DMA buffers 2011-06-09 11:53:11 +01:00
fsl_dma.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_ssi.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
fsl_ssi.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_dma.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc5200_dma.h Merge branch 'for-2.6.36' into for-2.6.37 2010-08-16 18:42:58 +01:00
mpc5200_psc_ac97.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc5200_psc_ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_psc_i2s.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc8610_hpcd.c ASoC: Replace pdev with card in machine driver probe and remove 2011-01-27 11:56:13 +00:00
p1022_ds.c ASoC: Replace pdev with card in machine driver probe and remove 2011-01-27 11:56:13 +00:00
pcm030-audio-fabric.c ASoC: pcm030-audio-fabric: fix resource leak in pcm030_fabric_init error path 2010-11-25 11:08:25 +00:00