]> rtime.felk.cvut.cz Git - linux-imx.git/commit
[ALSA] ak4xxx - Remove bogus IPGA controls
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Sep 2006 10:27:38 +0000 (12:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:46:55 +0000 (10:46 +0200)
commit854b66e44260320c21ebe4b8a18e189f2e45b5be
tree2e9636686f69d9f7ab659d3afa1b7495ef6de7d8
parent8f88820ee49359ea33af42845456ce9dbf54d39a
[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>
include/sound/ak4xxx-adda.h
sound/i2c/other/ak4xxx-adda.c
sound/pci/ice1712/revo.c