diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-06-23 10:59:35 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-23 11:17:25 +0300 |
commit | 683d36690f8a34a6323b6b3a655e5fa56ef80b5f (patch) | |
tree | 448ad94a1c1c65ae282a6106a6848b4a3d254b46 /sound/firewire | |
parent | 25eb438920e43ff49c6041a23619f22af6b21a5c (diff) | |
download | linux-683d36690f8a34a6323b6b3a655e5fa56ef80b5f.tar.xz |
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: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210623075941.72562-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/motu/motu-protocol-v2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/firewire/motu/motu-protocol-v2.c b/sound/firewire/motu/motu-protocol-v2.c index 7b69a8ef6b3d..7893cc73e983 100644 --- a/sound/firewire/motu/motu-protocol-v2.c +++ b/sound/firewire/motu/motu-protocol-v2.c @@ -121,6 +121,9 @@ static int get_clock_source(struct snd_motu *motu, u32 data, case 5: *src = SND_MOTU_CLOCK_SOURCE_ADAT_ON_DSUB; break; + case 7: + *src = SND_MOTU_CLOCK_SOURCE_AESEBU_ON_XLR; + break; default: *src = SND_MOTU_CLOCK_SOURCE_UNKNOWN; break; |