Skip to content

ALSA: add suspend/resume support for InterWave ISA cards

Cássio Gabriel linux-sound lkml 3 versions Applied

Status from this message: Applied all patches to for-next branch now. Thanks.

Get series with b4
b4 am [email protected] change-id 20260406-alsa-interwave-pm-609259dbdf02

Versions newest first

  1. v2 Latest3 patches 1 replyApplied
  2. v1 posting 2/23 patches 1 replySuperseded
  3. v1 posting 1/22 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Add a separate tea6330t cleanup patch moving the standalone snd_tea6330t_detect() EXPORT_SYMBOL() next to its function.
- Extend snd_i2c_lock() to cover the full device lookup/list traversal
in snd_tea6330t_restore_mixer().
- Renumber the InterWave PM patch to 3/3 after splitting out the
cleanup patch.
- Link to v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ALSA: tea6330t: move snd_tea6330t_detect() EXPORT_SYMBOLsound/i2c/tea6330t.c+1 -10 replies
2/3ALSA: tea6330t: add mixer state restore helperinclude/sound/tea6330t.h sound/i2c/tea6330t.c+39 -10 replies
3/3ALSA: interwave: add ISA and PnP suspend and resume callbackssound/isa/gus/interwave.c+151 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] ALSA: add suspend/resume support for InterWave ISA cards

This 3-patch series wires up suspend and resume support for the InterWave ISA drivers and their PnP front-end around the shared GUS PM helpers.

The first patch moves the remaining standalone snd_tea6330t_detect() EXPORT_SYMBOL() declaration next to its function definition as a requested small cleanup.

The second patch adds a small TEA6330T helper so the InterWave STB variant can restore its cached external mixer state after resume.

The third patch adds ISA and PnP PM callbacks to snd-interwave and restores the remaining InterWave-specific state that the generic GUS resume path does not cover, including the GF1 board registers and the detected memory layout.

The resume path intentionally does not rerun probe-time DRAM/ROM detection. As with the shared GUS PM support, this does not guarantee preservation of sample RAM contents across suspend.

---
Changes in v2:
- Add a separate tea6330t cleanup patch moving the standalone snd_tea6330t_detect() EXPORT_SYMBOL() next to its function.
- Extend snd_i2c_lock() to cover the full device lookup/list traversal
in snd_tea6330t_restore_mixer().
- Renumber the InterWave PM patch to 3/3 after splitting out the
cleanup patch.
- Link to v1: https://lore.kernel.org/all/[email protected]/

---
Cássio Gabriel (3):
ALSA: tea6330t: move snd_tea6330t_detect() EXPORT_SYMBOL
ALSA: tea6330t: add mixer state restore helper
ALSA: interwave: add ISA and PnP suspend and resume callbacks

 include/sound/tea6330t.h  |   1 +
 sound/i2c/tea6330t.c      |  41 ++++++++++-
 sound/isa/gus/interwave.c | 178 +++++++++++++++++++++++++++++++++++++++-------
 3 files changed, 191 insertions(+), 29 deletions(-)

---
base-commit: e051f09ba003f8b93dda4a8d55a1bff797235c0b
change-id: 20260406-alsa-interwave-pm-609259dbdf02

Best regards,

Signature · 1 line
Cássio Gabriel <[email protected]>