]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Try to find an empty control index when it's occupied
authorTakashi Iwai <tiwai@suse.de>
Thu, 23 Dec 2010 09:17:52 +0000 (10:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 23 Dec 2010 09:22:55 +0000 (10:22 +0100)
commit85703750944ef3f5c82c8819ebdc9e1461b9f1a7
tree37e8adc9f85e963cbd218e8662c5390ad2f9491b
parentd07613506b33658c18ffbce96aef512f5c26ea76
ALSA: hda - Try to find an empty control index when it's occupied

When a mixer control element was already created with the given name,
try to find another index for avoiding conflicts, instead of breaking
with an error.  This makes the driver more robust.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c