ALSA: firewire-motu: add ioctl command to read cached hardware meter
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Oct 2021 08:08:18 +0000 (17:08 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Oct 2021 15:52:09 +0000 (17:52 +0200)
commit58b62ab7025912ce1be36e3ba19d49620a0161b6
tree744c34aed991e334ecc8fe557b8acda276bd3e52
parent90b28f3bb85c39b11daf29d473ef21a935c70ec5
ALSA: firewire-motu: add ioctl command to read cached hardware meter

This patch adds new ioctl commands for userspace applications to read
cached image about hardware meters in register DSP and command DSP models.

The content of image differs depending on models. Model-specific parser
should be implemented in userspace.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20211015080826.34847-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/firewire.h
sound/firewire/motu/motu-command-dsp-message-parser.c
sound/firewire/motu/motu-hwdep.c
sound/firewire/motu/motu-register-dsp-message-parser.c
sound/firewire/motu/motu.h