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-- 2.3 KB
Makefile -rw-r--r-- 379 bytes
cache.c -rw-r--r-- 10.8 KB
cookie.c -rw-r--r-- 13.3 KB
fsdef.c -rw-r--r-- 4.2 KB
histogram.c -rw-r--r-- 2.8 KB
internal.h -rw-r--r-- 12.2 KB
main.c -rw-r--r-- 5.2 KB
netfs.c -rw-r--r-- 2.6 KB
object-list.c -rw-r--r-- 11.9 KB
object.c -rw-r--r-- 25.3 KB
operation.c -rw-r--r-- 11.8 KB
page.c -rw-r--r-- 24.8 KB
proc.c -rw-r--r-- 1.9 KB
stats.c -rw-r--r-- 9.6 KB

back to top