]> 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)
commit21a89e0809b614c226c1690704b04c8c44481e68
treef79496bbe072ce1f987550a3aaf3c9517e844706
parent51ab7d188f582aa94102ccf8e7d0ada2c301cfda
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