]> Pileus Git - ~andy/linux/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)
commit53dea36c70c1857149a8c447224e3936eb8b5339
treef79496bbe072ce1f987550a3aaf3c9517e844706
parent96dcabb99b9f63f2b65f2b0bfe5d4eb48f11b177
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