Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/8] Fixes and improvements in CS35L41 HDA driver for System Suspend/Resume
@ 2026-12-03 14:13 Stefan Binding
  2026-12-03 14:13 ` [PATCH v3 1/8] ALSA: hda: cs35l41: Remove redundant lock_system_sleep() calls Stefan Binding
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Stefan Binding @ 2026-12-03 14:13 UTC (permalink / raw)
  To: Mark Brown, Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, patches, Stefan Binding

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


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

end of thread, other threads:[~2026-12-03 14:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 14:13 [PATCH v3 0/8] Fixes and improvements in CS35L41 HDA driver for System Suspend/Resume Stefan Binding
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

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