From: Takashi Iwai Date: Fri, 8 Jul 2011 13:14:19 +0000 (+0200) Subject: ALSA: hda - Fix amp-cap checks in patch_realtek.c X-Git-Tag: v3.1-rc1~271^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c0240052892911d9ebcb2bbc2a5cfc3176077c;p=pandora-kernel.git ALSA: hda - Fix amp-cap checks in patch_realtek.c query_amp_caps() may return non-zero if the amp cap isn't supported by the codec. Thus one needs to check widget-caps first, then check the corresponding amp-caps. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed