]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda-codec - Don't create vmaster if no slaves found
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Feb 2008 17:43:50 +0000 (18:43 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 22 Feb 2008 22:20:09 +0000 (14:20 -0800)
commite43844a7b59c12e8b7a4e64cc1164790106d7f14
tree0c745f07383f08e3e4d03eb3dc1c59a3aa6d99bf
parent8d30d908322d643bf15e4730c8b0bcf4e924964a
[ALSA] hda-codec - Don't create vmaster if no slaves found

Don't create vmaster controls if no slaves are found in the given list.
This prevents the error due to an empty vmaster control.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/pci/hda/hda_codec.c