diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-06-17 14:23:46 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-17 14:23:46 +0200 |
commit | ad2409413d09fca763be1ac5161f2a9d82367903 (patch) | |
tree | eb882444d86ede68e1bba554e31ce68d58616b81 /sound/core/rawmidi.c | |
parent | cf6f1ff17f56c275424c5a341fc4d27ccbbfa71c (diff) | |
download | linux-ad2409413d09fca763be1ac5161f2a9d82367903.tar.bz2 |
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 <tiwai@suse.de>
Diffstat (limited to 'sound/core/rawmidi.c')
0 files changed, 0 insertions, 0 deletions