Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Support System Suspend and Resume for CS35L41 HDA
@ 2022-10-11 14:35 Stefan Binding
  2022-10-11 14:35 ` [PATCH v1 1/5] ALSA: hda: hda_cs_dsp_ctl: Minor clean and redundant code removal Stefan Binding
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Stefan Binding @ 2022-10-11 14:35 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: patches, alsa-devel, linux-kernel, Stefan Binding

The CS35L41 HDA driver currently only supports runtime suspend and resume.
Add support for system suspend and resume into the CS35L41 HDA driver.
The driver will put the parts into a state where they can be powered down
during suspend, and on system resume, it will restore the part.
If firmware was previously loaded, during system suspend, the firmware will
be unloaded, and during system resume, it will be loaded again.

Note: System suspend is only supported for models which use Internal Boost,
or models which use External Boost with a Boost Enable GPIO.

The chain also contains minor bug fixes for the CS35L41 HDA driver, and
associated hda_cs_dsp_ctl driver.

Richard Fitzgerald (1):
  ALSA: hda/cs_dsp_ctl: Fix mutex inversion when creating controls

Stefan Binding (4):
  ALSA: hda: hda_cs_dsp_ctl: Minor clean and redundant code removal
  ALSA: hda: hda_cs_dsp_ctl: Ensure pwr_lock is held before
    reading/writing controls
  ALSA: hda: cs35l41: Remove suspend/resume hda hooks
  ALSA: hda: cs35l41: Support System Suspend

 sound/pci/hda/cs35l41_hda.c    | 197 +++++++++++++++++++++++++--------
 sound/pci/hda/hda_component.h  |   2 -
 sound/pci/hda/hda_cs_dsp_ctl.c |  79 +++++++------
 sound/pci/hda/hda_cs_dsp_ctl.h |   2 +-
 sound/pci/hda/patch_realtek.c  |  19 +---
 5 files changed, 198 insertions(+), 101 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-10-12  6:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-11 14:35 [PATCH v1 0/5] Support System Suspend and Resume for CS35L41 HDA Stefan Binding
2022-10-11 14:35 ` [PATCH v1 1/5] ALSA: hda: hda_cs_dsp_ctl: Minor clean and redundant code removal Stefan Binding
2022-10-11 14:35 ` [PATCH v1 2/5] ALSA: hda: hda_cs_dsp_ctl: Ensure pwr_lock is held before reading/writing controls Stefan Binding
2022-10-11 14:35 ` [PATCH v1 3/5] ALSA: hda/cs_dsp_ctl: Fix mutex inversion when creating controls Stefan Binding
2022-10-11 14:35 ` [PATCH v1 4/5] ALSA: hda: cs35l41: Remove suspend/resume hda hooks Stefan Binding
2022-10-11 14:35 ` [PATCH v1 5/5] ALSA: hda: cs35l41: Support System Suspend Stefan Binding
2022-10-12  6:12 ` [PATCH v1 0/5] Support System Suspend and Resume for CS35L41 HDA Takashi Iwai

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