]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: sc6000: Restore board setup across suspend
authorCássio Gabriel <cassiogabrielcontato@gmail.com>
Fri, 10 Apr 2026 03:54:33 +0000 (00:54 -0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Apr 2026 12:59:47 +0000 (14:59 +0200)
commit47f72d57ddb11222479c80bd07f5bc036d84c94d
treec7b9870d6d40647de89ceece0b4bc6368def4ddd
parentfb79bf127ac2577b4876132da6dba768018aad4c
ALSA: sc6000: Restore board setup across suspend

snd_wss_resume() restores only the codec register image.  The SC-6000
driver also programs card-specific DSP routing and enters MSS mode
during probe, and that setup is not replayed after suspend.

Cache the WSS chip pointer in the SC-6000 card state and wire ISA
suspend and resume callbacks to the shared board-programming helper,
so the board is reinitialized before the codec state is restored.

This keeps the old/new DSP split in one place and restores the
board-level MSS setup that the codec resume path does not cover.

Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260410-alsa-sc6000-pm-v1-2-4d9e95493d26@gmail.com
sound/isa/sc6000.c