Commit 683d3669 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai

ALSA: firewire-motu: add support for AES/EBU clock source in v2 protocol

Although MOTU Traveler supports AES/EBU source for sampling clock,
current implementation of driver doesn't code it.

This commit adds support for AES/EBU source in protocol version 2.
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210623075941.72562-4-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 25eb4389
...@@ -121,6 +121,9 @@ static int get_clock_source(struct snd_motu *motu, u32 data, ...@@ -121,6 +121,9 @@ static int get_clock_source(struct snd_motu *motu, u32 data,
case 5: case 5:
*src = SND_MOTU_CLOCK_SOURCE_ADAT_ON_DSUB; *src = SND_MOTU_CLOCK_SOURCE_ADAT_ON_DSUB;
break; break;
case 7:
*src = SND_MOTU_CLOCK_SOURCE_AESEBU_ON_XLR;
break;
default: default:
*src = SND_MOTU_CLOCK_SOURCE_UNKNOWN; *src = SND_MOTU_CLOCK_SOURCE_UNKNOWN;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment