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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Mar 2022 06:53:12 +0000 (07:53 +0100)
commitc14231cc04337c2c2a937db084af342ce704dbde
treeda0608428629ec666f441b0ee289c667c58ddc0b
parentb7557267c233b55d8e8d7ba4c68cf944fe2ec02c
ALSA: cmipci: Restore aux vol on suspend/resume

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