summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_intel_trace.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-16 11:44:58 +0200
committerTakashi Iwai <tiwai@suse.de>2015-04-16 11:45:26 +0200
commit43db4a59ce0ad83bca5c938c1d94e21b278de24c (patch)
tree758860220a8bcc9bc52d368ab202cb8d300888ec /sound/pci/hda/hda_intel_trace.h
parent5f26facecb622d07e5444c0b8dc7ace8f03a1339 (diff)
downloadblackbird-op-linux-43db4a59ce0ad83bca5c938c1d94e21b278de24c.tar.gz
blackbird-op-linux-43db4a59ce0ad83bca5c938c1d94e21b278de24c.zip
ALSA: hda - Reenable tracepoints for controller
After correcting the fields to point the right members, tracepoints can be reenabled again for the legacy controller code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel_trace.h')
-rw-r--r--sound/pci/hda/hda_intel_trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_intel_trace.h b/sound/pci/hda/hda_intel_trace.h
index 7b5e4c2cf9d5..ae004737d0fd 100644
--- a/sound/pci/hda/hda_intel_trace.h
+++ b/sound/pci/hda/hda_intel_trace.h
@@ -24,7 +24,7 @@ TRACE_EVENT(azx_pcm_trigger,
TP_fast_assign(
__entry->card = (chip)->card->number;
- __entry->idx = (dev)->index;
+ __entry->idx = (dev)->core.index;
__entry->cmd = cmd;
),
@@ -46,7 +46,7 @@ TRACE_EVENT(azx_get_position,
TP_fast_assign(
__entry->card = (chip)->card->number;
- __entry->idx = (dev)->index;
+ __entry->idx = (dev)->core.index;
__entry->pos = pos;
__entry->delay = delay;
),
OpenPOWER on IntegriCloud