[ALSA] Fix volume control for the AK4358 DAC
authorJochen Voss <voss@seehuhn.de>
Wed, 23 Aug 2006 16:35:35 +0000 (18:35 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:44:00 +0000 (10:44 +0200)
commit3479307f8ca3cbf4181b8bf7d8c824156a9e63b7
tree26c4df6f74358218643f7967507844e872f77686
parent071c73ad5fce436ee00c9422b7ca0c5d629451fb
[ALSA] Fix volume control for the AK4358 DAC

Fix volume control for the AK4358 DAC.
The attenuation control registers of the AK4358 use only 7bit for the
volume, the msb is used to enable attenuation output.  Without this
patch there are 256 volume levels the lower 128 of which are mute.

Signed-off-by: Jochen Voss <voss@seehuhn.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/i2c/other/ak4xxx-adda.c