projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dea9d3
)
ALSA: hda - Add missing ifdef CONFIG_SND_HDA_POWER_SAVE to tracepoints
author
Takashi Iwai
<tiwai@suse.de>
Mon, 20 Aug 2012 16:04:40 +0000
(18:04 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 20 Aug 2012 16:04:40 +0000
(18:04 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_trace.h
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_trace.h
b/sound/pci/hda/hda_trace.h
index 9a34b867d8c272531692679f829fa9f57bd44e6f..d42fe911abae52a00b938576f17899e4f6679d2c 100644
(file)
--- a/
sound/pci/hda/hda_trace.h
+++ b/
sound/pci/hda/hda_trace.h
@@
-58,6
+58,7
@@
TRACE_EVENT(hda_bus_reset,
TP_printk("[%d]", __entry->card)
);
+#ifdef CONFIG_SND_HDA_POWER_SAVE
DECLARE_EVENT_CLASS(hda_power,
TP_PROTO(struct hda_codec *codec),
@@
-110,6
+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 */
TRACE_EVENT(hda_unsol_event,