ALSA: firewire-motu: detect SPH source of sampling clock
[linux-2.6-block.git] / sound / firewire / motu / motu-protocol-v3.c
index ba5794c724beb54c462a9755006adaf349fbb41a..d1545e2b5caaa7dc3b1d05abb63d86e9d1a3dca8 100644 (file)
@@ -104,6 +104,8 @@ static int v3_get_clock_source(struct snd_motu *motu,
                *src = SND_MOTU_CLOCK_SOURCE_INTERNAL;
        } else if (val == 0x01) {
                *src = SND_MOTU_CLOCK_SOURCE_WORD_ON_BNC;
+       } else if (val == 0x02) {
+               *src = SND_MOTU_CLOCK_SOURCE_SPH;
        } else if (val == 0x10) {
                *src = SND_MOTU_CLOCK_SOURCE_SPDIF_ON_COAX;
        } else if (val == 0x18 || val == 0x19) {