Skip to content

Fixes and improvements in CS35L41 HDA driver for System Suspend/Resume

Stefan Binding linux-sound lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ALSA: hda: cs35l41: Remove redundant lock_system_sleep() callssound/hda/codecs/side-codecs/cs35l41_hda.c+0 -60 replies
2/7ASoC: cs35l41: Prevent software reset when using SPIsound/soc/codecs/cs35l41-lib.c+36 -150 replies
3/7ALSA: hda: cs35l41: Unset irq if not used or configuredsound/hda/codecs/side-codecs/cs35l41_hda.c+5 -00 replies
4/7ALSA: hda/cs35l41: Split System Suspend/Resume callbackssound/hda/codecs/side-codecs/cs35l41_hda.c+78 -130 replies
5/7ALSA: hda/cs35l41: Remove support for alternative firmware typessound/hda/codecs/side-codecs/cs35l41_hda.c sound/hda/codecs/side-codecs/cs35l41_hda.h+8 -800 replies
6/7ALSA: hda/cs35l41: Store filenames of successfully loaded firmware and tuningssound/hda/codecs/side-codecs/cs35l41_hda.c sound/hda/codecs/side-codecs/cs35l41_hda.h+40 -100 replies
7/7ALSA: hda/cs35l41: rework how firmware requests are queued and flushed to prevent racessound/hda/codecs/side-codecs/cs35l41_hda.c sound/hda/codecs/side-codecs/cs35l41_hda.h+109 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.43.0