]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit104de926b4e536b4b019e0be6540927f0de15173
treed020956ddc5e117d9679b4fa05eead5b02efc4bd
parentc8a026be038648d14aba1f6f616be09e9af860c6
ASoC: JZ4740: Fix i2s shutdown

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>
sound/soc/jz4740/jz4740-i2s.c