]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix the check of loopback-mixer element index in patch_via.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Jun 2011 10:57:22 +0000 (12:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Jun 2011 10:59:24 +0000 (12:59 +0200)
commit86eb1a4ec6173adefa2445f70095cb65fc113f71
tree91ed42c71d9e0674e495add6eabed0e7a6a5b935
parent7015d99c0c3f2d40b63086a519c5f9d7b7dda81a
ALSA: hda - Fix the check of loopback-mixer element index in patch_via.c

Fix the check of the multiple loopback-mixer, which gave sometimes
a wrong index assigned to an element even for different names, e.g.
Mic and Front Mic.  Now check the label properly for avoid duplication.

Reported-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c