summaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712/revo.c
diff options
context:
space:
mode:
authorPavel Hofman <dustin@seznam.cz>2007-05-19 17:21:04 +0200
committerJaroslav Kysela <perex@suse.cz>2007-07-20 11:11:18 +0200
commitea7cfcdfe6439cd98816da9d339a6bc9032d2084 (patch)
tree0192cef9e2210f8aaae739c3471c174a8899f8cc /sound/pci/ice1712/revo.c
parent959047431a9e65f6ae25705e77a8e460a1aa04c0 (diff)
downloadlinux-ea7cfcdfe6439cd98816da9d339a6bc9032d2084.tar.gz
linux-ea7cfcdfe6439cd98816da9d339a6bc9032d2084.tar.bz2
linux-ea7cfcdfe6439cd98816da9d339a6bc9032d2084.zip
[ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1
This patch adds the support of mute for front channels of M-Audio Revolution 7.1 (the DAC AK4381 features a mute bit). Signed-off-by: Pavel Hofman <dustin@seznam.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ice1712/revo.c')
-rw-r--r--sound/pci/ice1712/revo.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c
index 690ceb340644..d18a31e188a9 100644
--- a/sound/pci/ice1712/revo.c
+++ b/sound/pci/ice1712/revo.c
@@ -186,7 +186,12 @@ static int revo51_i2c_init(struct snd_ice1712 *ice,
#define AK_DAC(xname,xch) { .name = xname, .num_channels = xch }
static const struct snd_akm4xxx_dac_channel revo71_front[] = {
- AK_DAC("PCM Playback Volume", 2)
+ {
+ .name = "PCM Playback Volume",
+ .num_channels = 2,
+ /* front channels DAC supports muting */
+ .switch_name = "PCM Playback Switch",
+ },
};
static const struct snd_akm4xxx_dac_channel revo71_surround[] = {