]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda-codec - Fix STAC922x capture boost level
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 May 2007 17:01:37 +0000 (19:01 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:22 +0000 (11:11 +0200)
commit2dd3162c84de9abc6d4d9b532aa5c4d96f843165
tree46cf44ff9505da1e2b8d9c5accf2077e5500f6d0
parentff2d13c98ff2fbedd18966858b70cb9758db30d9
[ALSA] hda-codec - Fix STAC922x capture boost level

STAC922x provides the capture boost level up to 4, but actually it
works only up to 2.  Since the range of the mixer is automatically
defined from amp-capability bits, we need to override the value
beforehand.  snd_hda_override_amp_caps() is introduced for this
purpose.
The function patch_stac922x() calls this for NID 0x12 (Mux Capture
Volume).  This should fix another recording problem on Intel Macs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_sigmatel.c