mbox series

[00/12] ALSA: hda: Reduce CONFIG_PM dependencies

Message ID 20240506161359.6960-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: hda: Reduce CONFIG_PM dependencies | expand

Message

Takashi Iwai May 6, 2024, 4:13 p.m. UTC
The legacy HD-audio drivers contain a fair amount of CONFIG_PM
dependent code.  As nowadays CONFIG_PM is de facto mandatory, this
makes code unnecessarily complex.

This patch series tries to reduce CONFIG_PM dependencies in HD-audio
drivers.

Lightly tested with different config sets.


Takashi

===

Takashi Iwai (12):
  ALSA: hda: intel: Reduce CONFIG_PM dependencies
  ALSA: hda: codec: Reduce CONFIG_PM dependencies
  ALSA: hda: generic: Reduce CONFIG_PM dependencies
  ALSA: hda: analog: Reduce CONFIG_PM dependencies
  ALSA: hda: ca0132: Reduce CONFIG_PM dependencies
  ALSA: hda: cirrus: Reduce CONFIG_PM dependencies
  ALSA: hda: conexant: Reduce CONFIG_PM dependencies
  ALSA: hda: cs4809: Reduce CONFIG_PM dependencies
  ALSA: hda: hdmi: Reduce CONFIG_PM dependencies
  ALSA: hda: realtek: Reduce CONFIG_PM dependencies
  ALSA: hda: sigmantel: Reduce CONFIG_PM dependencies
  ALSA: hda: via: Reduce CONFIG_PM dependencies

 include/sound/hda_codec.h       | 11 --------
 sound/pci/hda/hda_codec.c       | 37 +++++++-------------------
 sound/pci/hda/hda_controller.c  |  2 --
 sound/pci/hda/hda_generic.c     |  4 ---
 sound/pci/hda/hda_generic.h     |  2 --
 sound/pci/hda/hda_intel.c       | 46 ++++++++++-----------------------
 sound/pci/hda/hda_intel_trace.h |  2 --
 sound/pci/hda/hda_sysfs.c       |  4 ---
 sound/pci/hda/patch_analog.c    |  4 ---
 sound/pci/hda/patch_ca0132.c    |  4 ---
 sound/pci/hda/patch_cirrus.c    |  4 ---
 sound/pci/hda/patch_conexant.c  |  4 ---
 sound/pci/hda/patch_cs8409.c    |  8 ------
 sound/pci/hda/patch_hdmi.c      |  8 ------
 sound/pci/hda/patch_realtek.c   | 16 +-----------
 sound/pci/hda/patch_sigmatel.c  |  8 ------
 sound/pci/hda/patch_via.c       |  6 -----
 17 files changed, 25 insertions(+), 145 deletions(-)