]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa-ssp: Correct check for stream presence
authorDaniel Mack <zonque@gmail.com>
Wed, 22 Jun 2011 18:48:25 +0000 (20:48 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Jun 2011 19:09:56 +0000 (20:09 +0100)
commitf7490f90118232773049ca58674ccb10a4aa6124
treef79496bbe072ce1f987550a3aaf3c9517e844706
parent814c83d883c171c5d756252a09c4e5785e7012dc
ASoC: pxa-ssp: Correct check for stream presence

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.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/pxa/pxa2xx-pcm.c