[PATCH 00/10][SRU][M] Fix system suspend problem for Cirrus CS35L41 HDA codec on HP ZBook Fury 16 G9

Chris Chiu chris.chiu at canonical.com
Wed Nov 22 06:35:31 UTC 2023


BugLink: https://bugs.launchpad.net/bugs/2042060

[Impact]
Few HP ZBook Fury 16 G9 laptops suffers audio problems after system resume from suspend. The audio play and capture functions are not working after resume from S3.

[Fix]
Backport the fix from Cirrus on linux-next https://lore.kernel.org/all/20231026150558.2105827-1-sbinding@opensource.cirrus.com/.

[Test Case]
1. Power on the HP ZBook Fury 16 G9 machine with CS35L41 HDA .
2. Perform system suspend/resume at least 3 times.
3. Verify the audio functions, including playback and capture

[Where problems could occur]
Only affect specific laptops with the CS35L41 HDA. The impact is restricted.

Stefan Binding (10):
  ALSA: hda: cs35l41: Support systems with missing _DSD properties
  ALSA: hda: cs35l41: Override the _DSD for HP Zbook Fury 17 G9 to
    correct boost type
  ALSA: hda: cs35l41: Use reset label to get GPIO for HP Zbook Fury 17
    G9
  ALSA: hda: cs35l41: Assert reset before system suspend
  ALSA: hda: cs35l41: Assert Reset prior to de-asserting in probe and
    system resume
  ALSA: hda: cs35l41: Run boot process during resume callbacks
  ALSA: hda: cs35l41: Force a software reset after hardware reset
  ALSA: hda: cs35l41: Do not unload firmware before reset in system
    suspend
  ALSA: hda: cs35l41: Check CSPL state after loading firmware
  ASoC: cs35l41: Detect CSPL errors when sending CSPL commands

 include/sound/cs35l41.h              |   3 +
 sound/pci/hda/Makefile               |   2 +-
 sound/pci/hda/cs35l41_hda.c          | 235 ++++++++++++++-------------
 sound/pci/hda/cs35l41_hda.h          |   1 +
 sound/pci/hda/cs35l41_hda_property.c | 112 +++++++++++++
 sound/pci/hda/cs35l41_hda_property.h |  18 ++
 sound/soc/codecs/cs35l41-lib.c       |   6 +
 7 files changed, 262 insertions(+), 115 deletions(-)
 create mode 100644 sound/pci/hda/cs35l41_hda_property.c
 create mode 100644 sound/pci/hda/cs35l41_hda_property.h

-- 
2.34.1




More information about the kernel-team mailing list