]> www.infradead.org Git - users/willy/xarray.git/commit
ALSA: hda: intel: Reduce CONFIG_PM dependencies
authorTakashi Iwai <tiwai@suse.de>
Mon, 6 May 2024 16:13:44 +0000 (18:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2024 16:05:07 +0000 (18:05 +0200)
commit32d7c6cdc98f7131f13c41251e87837df81e0b31
tree07459acdbbeda1d966b002b0342d1a3cd58ee445
parentfdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8
ALSA: hda: intel: Reduce CONFIG_PM dependencies

snd-hda-intel contains lots of CONFIG_PM dependent code although
CONFIG_PM is almost mandatory nowadays, and it makes the code
unnecessarily complex.

Let's reduce the dependencies of CONFIG_PM in snd-hda-intel driver
code.  I left a few module options to be dependent on CONFIG_PM (which
are visible to users), but other places are either enabled or
optimized by compiler automatically.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240506161359.6960-2-tiwai@suse.de
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel_trace.h