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

Cássio Gabriel
2026-04-07T15:35:55Z

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.

Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
---
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/20260406-alsa-interwave-pm-v1-0-6ffa6f317c8f@gmail.com/

---
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,
--
Cássio Gabriel <cassiogabrielcontato@gmail.com>