ASoC: JZ4740: Fix i2s shutdown
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 30 Apr 2011 20:28:20 +0000 (22:28 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 3 May 2011 17:48:24 +0000 (18:48 +0100)
The i2s shutdown callback has the check whether it should be disabled reversed.
Currently it is disabled if another stream is still active, but kept enabled if
the last stream is closed. This patch fixes it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found