diff options
author | Takashi Iwai <tiwai@suse.de> | 2006-09-08 06:27:38 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:46:55 -0400 |
commit | 854b66e44260320c21ebe4b8a18e189f2e45b5be (patch) | |
tree | 2e9636686f69d9f7ab659d3afa1b7495ef6de7d8 /sound/pci/ice1712 | |
parent | 8f88820ee49359ea33af42845456ce9dbf54d39a (diff) |
[ALSA] ak4xxx - Remove bogus IPGA controls
Remove IPGA volume controls and merge the IPGA range to ADC volume
controls. These two volumes are not really independent but connected
simply in different ranges 0-0x7f and 0x80-max. It doesn't make sense
to provide two controls.
Since both 0x7f and 0x80 specify 0dB, a hack is needed for IPGA range
to skip 0x80 (increment one) for such controls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r-- | sound/pci/ice1712/revo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index c9eefa9bbfff..bf98ea34feb0 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c | |||
@@ -110,7 +110,6 @@ static struct snd_akm4xxx_dac_channel revo51_dac[] = { | |||
110 | static struct snd_akm4xxx_adc_channel revo51_adc[] = { | 110 | static struct snd_akm4xxx_adc_channel revo51_adc[] = { |
111 | { | 111 | { |
112 | .name = "PCM Capture Volume", | 112 | .name = "PCM Capture Volume", |
113 | .gain_name = "PCM Capture Gain Volume", | ||
114 | .switch_name = "PCM Capture Switch", | 113 | .switch_name = "PCM Capture Switch", |
115 | .num_channels = 2 | 114 | .num_channels = 2 |
116 | }, | 115 | }, |