]> 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)
commitab4661c3df069d4a245145c9c08025e8551b9f7b
treee917750514f7f89827e7f725e6922af1b428db2f
parent918d7fcd1b4a1c971048dacb0d5baa6d8aa28ed4
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