summaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2021-10-15 17:08:22 +0900
committerTakashi Iwai <tiwai@suse.de>2021-10-15 17:52:13 +0200
commit41cc23389f5fc64bdac78b73935a44bd5abc990d (patch)
tree8b40ff240f686c453bf0d3a56f7625d89721ecb9 /sound/firewire
parent6ca81d2b6305a884da441fd0281ff01afd5f8c7e (diff)
ALSA: firewire-motu: parse messages for line input parameters in register DSP model
This commit parses message and cache current parameters of line input function, available for MOTU 828 mk2 and Traveler. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20211015080826.34847-8-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r--sound/firewire/motu/motu-register-dsp-message-parser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/firewire/motu/motu-register-dsp-message-parser.c b/sound/firewire/motu/motu-register-dsp-message-parser.c
index 244f7ada851f..85faf7a4e8a3 100644
--- a/sound/firewire/motu/motu-register-dsp-message-parser.c
+++ b/sound/firewire/motu/motu-register-dsp-message-parser.c
@@ -219,6 +219,12 @@ void snd_motu_register_dsp_message_parser_parse(struct snd_motu *motu, const str
case HP_OUTPUT_PAIRED_ASSIGNMENT:
parser->param.output.hp_paired_assignment = val;
break;
+ case LINE_INPUT_BOOST:
+ parser->param.line_input.boost_flag = val;
+ break;
+ case LINE_INPUT_NOMINAL_LEVEL:
+ parser->param.line_input.nominal_level_flag = val;
+ break;
case METER:
{
u8 pos;