]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71099442a3fce6936d7074e8f577c70f33896e62
tree744c34aed991e334ecc8fe557b8acda276bd3e52
parent1eefecc708428eabad5a3bcbd5f5424c7c42871e
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