https://github.com/torvalds/linux
Revision ad2409413d09fca763be1ac5161f2a9d82367903 authored by Takashi Iwai on 17 June 2011, 12:23:46 UTC, committed by Takashi Iwai on 17 June 2011, 12:23:46 UTC
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>
1 parent cf6f1ff
History
Tip revision: ad2409413d09fca763be1ac5161f2a9d82367903 authored by Takashi Iwai on 17 June 2011, 12:23:46 UTC
ALSA: hda - Fix no NID error with VIA codecs
Tip revision: ad24094
File Mode Size
BUGS -rw-r--r-- 235 bytes
Kbuild -rw-r--r-- 452 bytes
Kconfig -rw-r--r-- 323 bytes
common.h -rw-r--r-- 8.6 KB
dir.c -rw-r--r-- 16.8 KB
exofs.h -rw-r--r-- 9.1 KB
file.c -rw-r--r-- 2.3 KB
inode.c -rw-r--r-- 33.4 KB
ios.c -rw-r--r-- 19.0 KB
namei.c -rw-r--r-- 7.5 KB
pnfs.h -rw-r--r-- 925 bytes
super.c -rw-r--r-- 25.2 KB
symlink.c -rw-r--r-- 1.8 KB

back to top