aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_trace.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-24 18:38:08 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-30 07:50:13 -0700
commit83012a7ccbb90dee33c97a004b3e374f988612af (patch)
tree4e6e4c6f1f21150a4c82cbbefb97995cda924d17 /sound/pci/hda/hda_trace.h
parentALSA: hda - Fix D3 clock stop check for codecs with own set_power_state op (diff)
downloadlinux-dev-83012a7ccbb90dee33c97a004b3e374f988612af.tar.xz
linux-dev-83012a7ccbb90dee33c97a004b3e374f988612af.zip
ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE
CONFIG_SND_HDA_POWER_SAVE is no longer an experimental feature and its behavior can be well controlled via the default value and module parameter. Let's just replace it with the standard CONFIG_PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_trace.h')
-rw-r--r--sound/pci/hda/hda_trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_trace.h b/sound/pci/hda/hda_trace.h
index d42fe911abae..3a1c63161eb1 100644
--- a/sound/pci/hda/hda_trace.h
+++ b/sound/pci/hda/hda_trace.h
@@ -58,7 +58,7 @@ TRACE_EVENT(hda_bus_reset,
TP_printk("[%d]", __entry->card)
);
-#ifdef CONFIG_SND_HDA_POWER_SAVE
+#ifdef CONFIG_PM
DECLARE_EVENT_CLASS(hda_power,
TP_PROTO(struct hda_codec *codec),
@@ -111,7 +111,7 @@ TRACE_EVENT(hda_power_count,
__entry->card, __entry->addr, __entry->power_count,
__entry->power_on, __entry->power_transition)
);
-#endif /* CONFIG_SND_HDA_POWER_SAVE */
+#endif /* CONFIG_PM */
TRACE_EVENT(hda_unsol_event,