From: Takashi Iwai Date: Fri, 17 Jun 2011 12:23:46 +0000 (+0200) Subject: ALSA: hda - Fix no NID error with VIA codecs X-Git-Tag: v3.0-rc4~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2409413d09fca763be1ac5161f2a9d82367903;p=pandora-kernel.git ALSA: hda - Fix no NID error with VIA codecs The via driver spews warnigs like hda-codec: no NID for mapping control Independent HP:0:0 with some codecs because snd_hda_add_nid() is called with nid=0. This patch fixes it by skipping the call when no corresponding widget is found. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed