From: Takashi Iwai Date: Tue, 22 Jan 2008 14:37:13 +0000 (+0100) Subject: [ALSA] hda-codec - Don't query widget parameter for invalid NID X-Git-Tag: v2.6.25-rc1~1127^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca008f367586f73bd1c766836e4f7a38ce9814f;p=pandora-kernel.git [ALSA] hda-codec - Don't query widget parameter for invalid NID Don't query a widget parameter for an invalid NID in get_wcaps() but rather returns zero (i.e. no attribute). The read to an non-existing widget may result in a fatal codec communication error. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed