[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
Thu Nov 23 06:24:58 UTC 2023
On Wed, Nov 22, 2023 at 5:06 PM Stefan Bader <stefan.bader at canonical.com> wrote:
>
> On 22.11.23 07:35, Chris Chiu wrote:
> > 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
>
> What about 4. Verify on x different computers using the same driver that
> audio functions still work without new issues?
>
The patchset is applied only on the device ID "103C89C6" to quirk with
hp_vision_acpi_fix() and manipulate the reset_gpio accordingly. The patch
#1 has restricted the impact on particular HP model. That's why I didn't think
we need to test on other computers.
> >
> > [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
> >
>
> --
> - Stefan
>
More information about the kernel-team
mailing list