ALSA: hda/realtek - Fix resume of multiple input sources
authorTakashi Iwai <tiwai@suse.de>
Sat, 25 Feb 2012 10:13:16 +0000 (11:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 25 Feb 2012 10:13:16 +0000 (11:13 +0100)
commit068b939431486f524438330b0848a8222e33d421
tree212c1aa8c999e3f9837cbda215f97122bd08c59a
parentcb74eb15ac88d6aacf7e58db1d8f8dadee710fd9
ALSA: hda/realtek - Fix resume of multiple input sources

When there are multiple input sources, the driver wrongly overwrites with
the value of the last input source on other slots at resume.  Thus the
primary input source may be shown wrongly.

Reported-and-tested-by: Julian Sikorski <belegdol@gmail.com>
Cc: <stable@kernel.org> [v3.1+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c