[alsa-devel] [PATCH 2/3] ASoC: cs4270: add Master Playback Switch
Daniel Mack
daniel at caiaq.de
Fri Apr 24 15:00:26 CEST 2009
This new control exports cs4270's DAC MUTE capabilities.
Signed-off-by: Daniel Mack <daniel at caiaq.de>
Cc: Mark Brown <broonie at sirena.org.uk>
Cc: Timur Tabi <timur at freescale.com>
---
sound/soc/codecs/cs4270.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 3c34fe6..c5d6388 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -486,6 +486,7 @@ static const struct snd_kcontrol_new cs4270_snd_controls[] = {
SOC_SINGLE("Zero Cross Switch", CS4270_TRANS, 5, 1, 0),
SOC_SINGLE("Popguard Switch", CS4270_MODE, 0, 1, 1),
SOC_SINGLE("Auto-Mute Switch", CS4270_MUTE, 5, 1, 0),
+ SOC_DOUBLE("Master Playback Switch", CS4270_MUTE, 0, 1, 1, 1),
SOC_DOUBLE("Master Capture Switch", CS4270_MUTE, 3, 4, 1, 1)
};
--
1.6.2.1
More information about the Alsa-devel
mailing list