ASoC: JZ4740: qi_lb60: Use the SND_SOC_DAPM_EVENT_OFF for the speakers status
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 12 Apr 2011 17:31:05 +0000 (19:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Apr 2011 17:34:54 +0000 (10:34 -0700)
commit621206b76825f24ccb650b9f59c18c17f6760a4c
treefe2cc834ceeeff4a0c1454f33855473f2ba99883
parentc6f0ede7c563497f6d7fef847a965d7fd63d86f9
ASoC: JZ4740: qi_lb60: Use the SND_SOC_DAPM_EVENT_OFF for the speakers status

Use SND_SOC_DAPM_EVENT_OFF for determining whether the speaker should be turned
on or off instead of open coding 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/qi_lb60.c