]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireface: comment cleanup about destination address of async transactions for...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 24 Jan 2019 09:32:03 +0000 (18:32 +0900)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2019 13:39:32 +0000 (14:39 +0100)
commit01e31c6e033bed9e73668a6b8212f2f69b976145
treee5182e72e22fad3514318a70a9f38afde0c66aed
parentcec67190a4b49ce73a5d54c99e0b2874098712ee
ALSA: fireface: comment cleanup about destination address of async transactions for MIDI messages

In Fireface series, registration of higher 4 bytes of destination
address for asynchronous transaction of MIDI messages is done by
a write transaction to model-specific register.

On the other hand, registration of lower 4 bytes of the address is
selectable from 4 options. A register for this registration includes
the other purpose options such as input attenuation. Thus this
driver expects userspace applications to configure the register.

Actual behaviour for the asynchronous transaction is different
depending on protocols. In former protocol, destination offset
of each transaction is the same as the registered address even if
it is block request. In latter models, destination offset of each
transaction is the offset of previous transaction plus 4 byte
and the transaction is quadlet request.

This commit cleanups comments about the above mechanism.

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-protocol-latter.c
sound/firewire/fireface/ff-transaction.c