public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ALSA: add suspend/resume support for InterWave ISA cards
@ 2026-04-07 15:35 Cássio Gabriel
  2026-04-07 15:35 ` [PATCH v2 1/3] ALSA: tea6330t: move snd_tea6330t_detect() EXPORT_SYMBOL Cássio Gabriel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Cássio Gabriel @ 2026-04-07 15:35 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela
  Cc: linux-sound, linux-kernel, Cássio Gabriel

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>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-08  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 15:35 [PATCH v2 0/3] ALSA: add suspend/resume support for InterWave ISA cards Cássio Gabriel
2026-04-07 15:35 ` [PATCH v2 1/3] ALSA: tea6330t: move snd_tea6330t_detect() EXPORT_SYMBOL Cássio Gabriel
2026-04-07 15:35 ` [PATCH v2 2/3] ALSA: tea6330t: add mixer state restore helper Cássio Gabriel
2026-04-07 15:35 ` [PATCH v2 3/3] ALSA: interwave: add ISA and PnP suspend and resume callbacks Cássio Gabriel
2026-04-08  8:51 ` [PATCH v2 0/3] ALSA: add suspend/resume support for InterWave ISA cards Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox