]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: cmipci: Restore aux vol on suspend/resume
authorJonathan Teh <jonathan.teh@outlook.com>
Sun, 13 Mar 2022 19:56:17 +0000 (19:56 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:18:05 +0000 (15:18 +0200)
commitf6426e0d89eeb3f34a801e6826d6016c3e9c003f
tree7df4cd8c004b9a4ad6ed3386b2502392aa2cb4a5
parent4ca0b8c036117cc129474d24058a1185c74e03bd
ALSA: cmipci: Restore aux vol on suspend/resume

BugLink: https://bugs.launchpad.net/bugs/1971496
commit c14231cc04337c2c2a937db084af342ce704dbde upstream.

Save and restore CM_REG_AUX_VOL instead of register 0x24 twice on
suspend/resume.

Tested on CMI8738LX.

Fixes: cb60e5f5b2b1 ("[ALSA] cmipci - Add PM support")
Signed-off-by: Jonathan Teh <jonathan.teh@outlook.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/DBAPR04MB7366CB3EA9C8521C35C56E8B920E9@DBAPR04MB7366.eurprd04.prod.outlook.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
sound/pci/cmipci.c