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
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 199 bytes
balloc.c -rw-r--r-- 27.2 KB
cylinder.c -rw-r--r-- 5.7 KB
dir.c -rw-r--r-- 16.2 KB
file.c -rw-r--r-- 1008 bytes
ialloc.c -rw-r--r-- 9.2 KB
inode.c -rw-r--r-- 25.1 KB
namei.c -rw-r--r-- 7.6 KB
super.c -rw-r--r-- 43.3 KB
swab.h -rw-r--r-- 2.5 KB
symlink.c -rw-r--r-- 1.2 KB
truncate.c -rw-r--r-- 12.7 KB
ufs.h -rw-r--r-- 5.1 KB
ufs_fs.h -rw-r--r-- 34.6 KB
util.c -rw-r--r-- 6.1 KB
util.h -rw-r--r-- 16.4 KB

back to top