]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireface: change prototype of handler for async transaction with MIDI messages
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 22 Jan 2019 13:17:00 +0000 (22:17 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2019 16:20:49 +0000 (17:20 +0100)
commitb96ad34c404004c6d2352a0ea60566ad8425f70f
tree0b2ab9086095939a06b5b196f654ec597dc22c4e
parentf65eb7c50623aadb3b84735cf1833e3b5af00121
ALSA: fireface: change prototype of handler for async transaction with MIDI messages

In a series of Fireface, devices transfer asynchronous transaction with
MIDI messages. In the transaction, content is different depending on
models. ALSA fireface driver has protocol-dependent handler to pick up
MIDI messages from the content.

In latter models of the series, the transaction is transferred to range
of address sequentially. This seems to check continuity of transferred
messages.

This commit changes prototype of the handler to receive offset of
address for received transactions.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-protocol-former.c
sound/firewire/fireface/ff-transaction.c
sound/firewire/fireface/ff.h