diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-23 07:38:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-23 07:45:21 +0100 |
commit | 6759dc323826c2c806c998cd93945c5476688dd2 (patch) | |
tree | f1821de346e3d52809005de4cfacff00448c7bf6 /sound/soc/codecs/wm_hubs.c | |
parent | 6dfeb703e386369d9f1585d29482efe7b2b4401d (diff) |
ALSA: hda/realtek - Fix missing inits of item indices for auto-mic
When the imux entries are rebuilt in alc_rebuild_imux_for_auto_mic(),
the initialization of index field is missing. It may work without it
casually when the original imux was created by the auto-parser, but
it's definitely broken in the case of static configs where no imux was
parsed beforehand. Because of this, the auto-mic switching doesn't
work properly on some model options.
This patch adds the missing initialization of index field.
Reported-by: Dmitry Nezhevenko <dion@inhex.net>
Cc: <stable@kernel.org> [v3.1]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm_hubs.c')
0 files changed, 0 insertions, 0 deletions