]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd8002539ec7b8bc793a212b79db4a796ce9bce9c
treee5182e72e22fad3514318a70a9f38afde0c66aed
parentf0f9f497d44e2f696b4e16c41f3eaa13a009f22d
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