]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-motu: unify common tracepoints for both direction
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 24 Jun 2019 09:16:46 +0000 (18:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Jun 2019 10:10:52 +0000 (12:10 +0200)
commit321e034049952eb37b7e97c0d3a5b9bdde1f1b9f
treee917750514f7f89827e7f725e6922af1b428db2f
parentd6502a9df38aa7cb22f64171c1f940afaf41fdf7
ALSA: firewire-motu: unify common tracepoints for both direction

In ALSA firewire-motu driver, some tracepoints are supported to probe
vendor-specific data fields for SPH and status/control messages in
payload of isochronous packet. At present, the events of tracepoints
are unique each of direction, however the pair of events has the
same structure and print format. It's possible to unify the pair.

This commit unifies the pair. From userspace, direction is specified
by filtering for src/dst fields in the structure.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/amdtp-motu-trace.h
sound/firewire/motu/amdtp-motu.c