mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
ALSA: trace: use snd_pcm_direction_name()
We already have snd_pcm_direction_name(). Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/87sevrk52f.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
fc5aeeabd2
commit
469b77e421
@ -8,6 +8,7 @@
|
||||
#include <linux/ktime.h>
|
||||
#include <linux/tracepoint.h>
|
||||
#include <sound/jack.h>
|
||||
#include <sound/pcm.h>
|
||||
|
||||
#define DAPM_DIRECT "(direct)"
|
||||
#define DAPM_ARROW(dir) (((dir) == SND_SOC_DAPM_DIR_OUT) ? "->" : "<-")
|
||||
@ -212,7 +213,7 @@ TRACE_EVENT(snd_soc_dapm_connected,
|
||||
),
|
||||
|
||||
TP_printk("%s: found %d paths",
|
||||
__entry->stream ? "capture" : "playback", __entry->paths)
|
||||
snd_pcm_direction_name(__entry->stream), __entry->paths)
|
||||
);
|
||||
|
||||
TRACE_EVENT(snd_soc_jack_irq,
|
||||
|
Loading…
Reference in New Issue
Block a user