]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: msnd: add ISA and PnP system sleep callbacks
authorCássio Gabriel <cassiogabrielcontato@gmail.com>
Thu, 9 Apr 2026 05:07:46 +0000 (02:07 -0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2026 10:02:39 +0000 (12:02 +0200)
commitefca489a86fc6a5364215fdf03c2fad3b864d03a
tree82b507b5fca51b5fe267b1294d9eb05279de320b
parent49690509ebdcbfa7618dd5a5ff3c89f7af9a5b43
ALSA: msnd: add ISA and PnP system sleep callbacks

The msnd drivers do not implement system sleep callbacks today, so
they have no defined way to recover DSP state after suspend.

Add common card suspend/resume helpers, rerun the DSP
initialization path on resume, restore the cached capture-source
state, and rearm the shared IRQ for already-open users.

Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Link: https://patch.msgid.link/20260409-msnd-pm-support-v1-2-2abef720d0e7@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/msnd/msnd.h
sound/isa/msnd/msnd_pinnacle.c