ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value.
authorConnor McAdams <conmanx360@gmail.com>
Mon, 3 Aug 2020 00:29:25 +0000 (20:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Aug 2020 13:35:31 +0000 (15:35 +0200)
commit65e98f2a989e078615971c0313d063d13c6e0d40
tree978b972d885f4df9cd9eec6109da2d8eb0e36f26
parent5fe681ece4ca518dc4b9dc94d99f0e9a0cafe87b
ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value.

commit a00dc409de455b64e6cb2f6d40cdb8237cdb2e83 upstream.

When the ZxR headphone gain control was added, the ca0132_switch_get
function was not updated, which meant that the changes to the control
state were not saved when entering/exiting alsamixer.

Signed-off-by: Connor McAdams <conmanx360@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200803002928.8638-1-conmanx360@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_ca0132.c