]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix amp-cap checks in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Jul 2011 13:14:19 +0000 (15:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jul 2011 13:14:19 +0000 (15:14 +0200)
commit44c0240052892911d9ebcb2bbc2a5cfc3176077c
tree2c5ace762ec6c5e6cff11480eaad3ac783cf0062
parenta1f649d5475f6fa7ea5707510ec8b2e3019f38dd
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 <tiwai@suse.de>
sound/pci/hda/patch_realtek.c