]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit446e07101696e1ae29f0ceb034d77746d9016cfe
treefe2cc834ceeeff4a0c1454f33855473f2ba99883
parent721234f43be55c4dfe03ec4ba6314725d761731b
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