From: Stefan Binding <sbinding@opensource.cirrus.com>
To: Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com,
Stefan Binding <sbinding@opensource.cirrus.com>
Subject: [PATCH v3 0/8] Fixes and improvements in CS35L41 HDA driver for System Suspend/Resume
Date: Thu, 3 Dec 2026 14:13:02 +0000 [thread overview]
Message-ID: <20261203141359.150688-1-sbinding@opensource.cirrus.com> (raw)
A number of issues in system suspend and system resume have been reported
on the CS35L41 HDA driver. These patches fix some of the issues, as well
as improve the suspend/resume code in the driver.
The main issues resolved are:
- CS35L41 boot issues after system resume (on SPI systems using S4 hibernation)
- a deadlock during system suspend due to a race condition with the filesystem
Also included is a patch to prevent issues with IRQs during suspend/resume.
In addition, there are 3 patches which prepare the driver for these
improvements and fixes:
- ALSA: hda: cs35l41: Remove redundant lock_system_sleep() calls
- ALSA: hda: cs35l41: Unset irq if not used or configured
- ALSA: hda/cs35l41: Remove support for alternative firmware types
Changes since v2:
- Patch 7: Ensure dsp is shutdown in unbind path, requested by Sashiko
- Patch 8: Added patch to ensure reset on SPI device during suspend abort
Changes since v1:
- Patch 2: Added Fixes tag requested by Sashiko
- Patch 4: Moved disable_irq call before suspend, and moved reset GPIO
toggle into resume_early, as requested by Sashiko
- Patch 7: ensure DSP is shutdown on bind failure, as requested by Sashiko
Stefan Binding (8):
ALSA: hda: cs35l41: Remove redundant lock_system_sleep() calls
ASoC: cs35l41: Prevent software reset when using SPI
ALSA: hda: cs35l41: Unset irq if not used or configured
ALSA: hda/cs35l41: Split System Suspend/Resume callbacks
ALSA: hda/cs35l41: Remove support for alternative firmware types
ALSA: hda/cs35l41: Store filenames of successfully loaded firmware and
tunings
ALSA: hda/cs35l41: rework how firmware requests are queued and flushed
to prevent races
ALSA: hda/cs35l41: Ensure SPI devices are always reset during system
suspend
sound/hda/codecs/side-codecs/cs35l41_hda.c | 521 +++++++++++++++------
sound/hda/codecs/side-codecs/cs35l41_hda.h | 14 +-
sound/soc/codecs/cs35l41-lib.c | 50 +-
3 files changed, 434 insertions(+), 151 deletions(-)
--
2.43.0
next reply other threads:[~2026-12-03 14:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 14:13 Stefan Binding [this message]
2026-12-03 14:13 ` [PATCH v3 1/8] ALSA: hda: cs35l41: Remove redundant lock_system_sleep() calls Stefan Binding
2026-12-03 14:13 ` [PATCH v3 2/8] ASoC: cs35l41: Prevent software reset when using SPI Stefan Binding
2026-12-03 14:55 ` sashiko-bot
2026-12-03 14:13 ` [PATCH v3 3/8] ALSA: hda: cs35l41: Unset irq if not used or configured Stefan Binding
2026-12-03 14:13 ` [PATCH v3 4/8] ALSA: hda/cs35l41: Split System Suspend/Resume callbacks Stefan Binding
2026-12-03 14:13 ` [PATCH v3 5/8] ALSA: hda/cs35l41: Remove support for alternative firmware types Stefan Binding
2026-12-03 14:13 ` [PATCH v3 6/8] ALSA: hda/cs35l41: Store filenames of successfully loaded firmware and tunings Stefan Binding
2026-12-03 14:13 ` [PATCH v3 7/8] ALSA: hda/cs35l41: rework how firmware requests are queued and flushed to prevent races Stefan Binding
2026-12-03 14:13 ` [PATCH v3 8/8] ALSA: hda/cs35l41: Ensure SPI devices are always reset during system suspend Stefan Binding
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=20261203141359.150688-1-sbinding@opensource.cirrus.com \
--to=sbinding@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox