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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2022 07:58:44 +0000 (09:58 +0200)
commit9abaacd6491e454c3e753acfcab12e9bf991b1c8
treebfd8fb022ef7265fc24989feb424d01c00eeaa27
parent099a1cc21b16dbf446158fd3675f3d23cbea1b68
ALSA: cmipci: Restore aux vol on suspend/resume

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>
sound/pci/cmipci.c