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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 19:31:23 +0000 (12:31 -0700)
commit2f5b7338fbdb695d66424d19e0bb193b4d5f6591
treead0c32b4a0e902c1cede29325e404253988226a1
parent9701e4af7147129671f1946794e52f6abcd6f17a
ALSA: hda/realtek - Fix resume of multiple input sources

commit 068b939431486f524438330b0848a8222e33d421 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c