[PATCH v1 0/7] Fixes and improvements in CS35L41 HDA driver for System Suspend/Resume

From: Stefan Binding

Date: Fri Nov 20 2026 - 11:12:23 EST


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

Stefan Binding (7):
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

sound/hda/codecs/side-codecs/cs35l41_hda.c | 362 +++++++++++++--------
sound/hda/codecs/side-codecs/cs35l41_hda.h | 7 +-
sound/soc/codecs/cs35l41-lib.c | 51 ++-
3 files changed, 275 insertions(+), 145 deletions(-)

--
2.43.0