]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-motu: add message parser for meter information in command DSP model
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Oct 2021 08:08:17 +0000 (17:08 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Oct 2021 15:52:07 +0000 (17:52 +0200)
commit1eefecc708428eabad5a3bcbd5f5424c7c42871e
tree9f9c729a02102e59a6932e5503ac76369240d8db
parentd02f936564ec0e5a8c7db0797c519551f81f41f1
ALSA: firewire-motu: add message parser for meter information in command DSP model

Some of MOTU models allows software to configure their DSP parameters by
command included in asynchronous transaction. The models multiplex messages
for hardware meters into isochronous packet as well as PCM frames. For
convenience, I call them as 'command DSP' model.

This patch adds message parser for them to gather hardware meter
information.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20211015080826.34847-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/firewire.h
sound/firewire/motu/Makefile
sound/firewire/motu/amdtp-motu.c
sound/firewire/motu/motu-command-dsp-message-parser.c [new file with mode: 0644]
sound/firewire/motu/motu-protocol-v3.c
sound/firewire/motu/motu-stream.c
sound/firewire/motu/motu.c
sound/firewire/motu/motu.h