]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-motu: add tracepoints for messages for unique protocol
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Apr 2017 12:33:29 +0000 (21:33 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Apr 2017 06:30:47 +0000 (08:30 +0200)
commit631fa5cfda400352778c322f66814d6e4353d70f
treeee8009c3d9fbe82b6365fa8a1ee01944898cd30d
parentc1d1a6a58e9abb0085f62224d0f6122877633f74
ALSA: firewire-motu: add tracepoints for messages for unique protocol

MOTU units transfer/receive messages in each data block of their
isochronous packet payload. A part of content in the message is cleard for
MIDI message transmission, while the rest is unknown yet. Additional
features are required to assist users and developers to reveal the
details.

This commit adds tracepoints for the purpose. The tracepoints are designed
for MOTU's protocol version 2 and 3 (Protocol version 1 is not upstreamed
yet). In the tracepoints, events are probed to gather first two 24 bit
data chunks of each data block. The chunks are formatted into elements
of 64 bit array with padding in MSB.

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