]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix volume-init for ALC259 with invalid widget caps
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:53:38 +0000 (15:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:53:38 +0000 (15:53 +0200)
commitd9dcfcc592066c4f67f4c662286a54c77130e7e6
treed22b159814380ab5b53aa36715c340ed710010af
parentb96cf646ba544531c63d299ded39b03e71a926f9
ALSA: hda - Fix volume-init for ALC259 with invalid widget caps

ALC259 seems to provide an invalid widget capability for the input-src
selector widget.  The widget shows the input-amp while it's a selector,
and this confuses the current ALC882 initialization code that is used
for ALC259, too.  For fixing this, check the amp capability and handle
the connection selection individually.

Also, ALC259 has no mute bit in DAC volume, so we need to initialize
it as ZERO instead of MUTE.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c