diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-05-06 19:13:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-05-08 19:05:07 +0300 |
commit | 32d7c6cdc98f7131f13c41251e87837df81e0b31 (patch) | |
tree | 07459acdbbeda1d966b002b0342d1a3cd58ee445 /sound/pci/hda/hda_intel_trace.h | |
parent | fdb3f29dfe0d51bdb8e7b3a6d876ea8339d44df8 (diff) | |
download | linux-32d7c6cdc98f7131f13c41251e87837df81e0b31.tar.xz |
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
Diffstat (limited to 'sound/pci/hda/hda_intel_trace.h')
-rw-r--r-- | sound/pci/hda/hda_intel_trace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_intel_trace.h b/sound/pci/hda/hda_intel_trace.h index 73a7adfa192d..2775fa81a500 100644 --- a/sound/pci/hda/hda_intel_trace.h +++ b/sound/pci/hda/hda_intel_trace.h @@ -34,7 +34,6 @@ DEFINE_EVENT(hda_pm, azx_resume, TP_ARGS(chip) ); -#ifdef CONFIG_PM DEFINE_EVENT(hda_pm, azx_runtime_suspend, TP_PROTO(struct azx *chip), TP_ARGS(chip) @@ -44,7 +43,6 @@ DEFINE_EVENT(hda_pm, azx_runtime_resume, TP_PROTO(struct azx *chip), TP_ARGS(chip) ); -#endif #endif /* _TRACE_HDA_INTEL_H */ |