OpenCloudOS-Kernel/sound/soc/jz4740
Joachim Eastwood 25e9e7565f ASoC: check for substream not channels_min in pcm engines
This is a follow up on 53dea36c70 which fixes the other affected
pcm engines.

Description from 53dea36c70c1857:
 Don't rely on the codec's channels_min information to decide wheter or
 not allocate a substream's DMA buffer. Rather check if the substream
 itself was allocated previously.

Without this patch I was seeing null-pointer dereferenc in atmel-pcm.

Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-01-07 11:18:05 -08:00
..
Kconfig ASoC: JZ4740: Add qi_lb60 board driver 2010-06-23 00:10:57 +01:00
Makefile ASoC: JZ4740: Add qi_lb60 board driver 2010-06-23 00:10:57 +01:00
jz4740-i2s.c ASoC: Convert jz4740 directory to module_platform_driver 2011-11-24 10:45:19 +00:00
jz4740-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
jz4740-pcm.c ASoC: check for substream not channels_min in pcm engines 2012-01-07 11:18:05 -08:00
jz4740-pcm.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
qi_lb60.c ASoC: jz4740: Add .owner to struct snd_soc_card 2011-12-23 11:16:57 +00:00