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)
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

No differences found