ALSA: hda: codec: Reduce CONFIG_PM dependencies
authorTakashi Iwai <tiwai@suse.de>
Mon, 6 May 2024 16:13:45 +0000 (18:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2024 16:05:08 +0000 (18:05 +0200)
commit9e993b3d722fb452e274e1f8694d8940db183323
tree7f2e4cab52d6b499f6f3614547eb9a48db074df7
parent32d7c6cdc98f7131f13c41251e87837df81e0b31
ALSA: hda: codec: Reduce CONFIG_PM dependencies

CONFIG_PM is almost mandatory nowadays for real systems, but we have
lots of CONFIG_PM dependent code in snd-hda-codec helper code.

Let's reduce the dependencies of CONFIG_PM now.  The only visible
drawback would be a couple of superfluous trace entries for runtime
PM, but we can live with that.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240506161359.6960-3-tiwai@suse.de
include/sound/hda_codec.h
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_sysfs.c