commit | dca008f367586f73bd1c766836e4f7a38ce9814f | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 22 15:37:13 2008 +0100 |
committer | Jaroslav Kysela <perex@perex.cz> | Thu Jan 31 17:30:10 2008 +0100 |
tree | 174bdb00bf674b21251df8e6c1a2ecc30f08ddd5 | |
parent | 0ef6ce7b6acddc3dc9e898125b3bada98a21130a [diff] |
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>