All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cássio Gabriel" <cassiogabrielcontato@gmail.com>
To: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Cássio Gabriel" <cassiogabrielcontato@gmail.com>
Subject: [PATCH v2 0/3] ALSA: add suspend/resume support for InterWave ISA cards
Date: Tue, 07 Apr 2026 12:35:40 -0300	[thread overview]
Message-ID: <20260407-alsa-interwave-pm-v2-0-8dd96c6129e9@gmail.com> (raw)

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>


             reply	other threads:[~2026-04-07 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 15:35 Cássio Gabriel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260407-alsa-interwave-pm-v2-0-8dd96c6129e9@gmail.com \
    --to=cassiogabrielcontato@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.