From: Takashi Iwai Date: Mon, 27 Jun 2011 13:53:38 +0000 (+0200) Subject: ALSA: hda - Fix volume-init for ALC259 with invalid widget caps X-Git-Tag: v3.1-rc1~271^2^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec9c6ccc6007b14a916021d4ba7ffbcc7822ae3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed