]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitc5dfd4b885284e4eaaf66172b918894fdde7eb06
treee917750514f7f89827e7f725e6922af1b428db2f
parenteee22af1eddedf2a140fcf6855564420abed818d
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