]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: gusmax: add ISA suspend and resume callbacks
authorCássio Gabriel <cassiogabrielcontato@gmail.com>
Mon, 6 Apr 2026 03:20:06 +0000 (00:20 -0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Apr 2026 09:08:36 +0000 (11:08 +0200)
commit1b64e52380abfd368baa8a53d73336ffcd52c0c0
tree91d349d99cae5580218bb9b1514a7f86a93d3c2f
parent7da8af2541d01ce1a7ad5efbb3fee8567fdfc959
ALSA: gusmax: add ISA suspend and resume callbacks

gusmax still leaves its ISA PM callbacks disabled even though the shared
GF1 suspend and resume path now exists.

This board needs one extra piece of PM glue around the shared GF1 helpers.
The attached WSS codec has its own register image that must be saved and
restored across suspend, and the MAX control register must be rewritten on
resume before the codec and GF1 sides are brought back.

Use the existing wss->suspend() and wss->resume() hooks for the codec, then
wire the driver up to the shared GUS suspend and resume helpers for the GF1
side.

Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260406-b4-alsa-gus-isa-pm-v1-4-b6829a7457cd@gmail.com
sound/isa/gus/gusmax.c