]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: msnd: prepare system sleep support
authorCássio Gabriel <cassiogabrielcontato@gmail.com>
Thu, 9 Apr 2026 05:07:45 +0000 (02:07 -0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2026 10:02:31 +0000 (12:02 +0200)
commit49690509ebdcbfa7618dd5a5ff3c89f7af9a5b43
tree7f0256d28132138334f458078beac0fe4f3d98aa
parentaa6c1052b7730e18d5999f9a5cfb1dadaac82310
ALSA: msnd: prepare system sleep support

System suspend cannot work for msnd today because the PCM trigger
paths reject SNDRV_PCM_TRIGGER_SUSPEND, and the driver has only
refcounted IRQ helpers.

Add the small helpers needed by the PM callbacks and restore master
volume from the cached ALSA mixer state when the DSP is
reinitialized.

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