diff options
author | Pavel Hofman <dustin@seznam.cz> | 2007-05-19 11:21:04 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:18 -0400 |
commit | ea7cfcdfe6439cd98816da9d339a6bc9032d2084 (patch) | |
tree | 0192cef9e2210f8aaae739c3471c174a8899f8cc /sound/pci/ice1712/revo.c | |
parent | 959047431a9e65f6ae25705e77a8e460a1aa04c0 (diff) |
[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.c | 7 |
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, | |||
186 | #define AK_DAC(xname,xch) { .name = xname, .num_channels = xch } | 186 | #define AK_DAC(xname,xch) { .name = xname, .num_channels = xch } |
187 | 187 | ||
188 | static const struct snd_akm4xxx_dac_channel revo71_front[] = { | 188 | static const struct snd_akm4xxx_dac_channel revo71_front[] = { |
189 | AK_DAC("PCM Playback Volume", 2) | 189 | { |
190 | .name = "PCM Playback Volume", | ||
191 | .num_channels = 2, | ||
192 | /* front channels DAC supports muting */ | ||
193 | .switch_name = "PCM Playback Switch", | ||
194 | }, | ||
190 | }; | 195 | }; |
191 | 196 | ||
192 | static const struct snd_akm4xxx_dac_channel revo71_surround[] = { | 197 | static const struct snd_akm4xxx_dac_channel revo71_surround[] = { |