Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 099d53c3 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Add missing ifdef CONFIG_SND_HDA_POWER_SAVE to tracepoints



Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8dea9d38
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,