ALSA: firewire-motu: detect SPH source of sampling clock
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 30 Oct 2019 08:06:41 +0000 (17:06 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2019 09:57:54 +0000 (10:57 +0100)
commit3f58f004bff3273d102583e0b2f478526cf9d3c8
tree6d31f483cd0eac308eb491609a33384fd1317017
parent1ef2ff941424bde4fd1d8dc97e0e600c5dc5472e
ALSA: firewire-motu: detect SPH source of sampling clock

In MOTU FireWire series, devices have a mode to generate sampling clock
from a sequence of source packet header (SPH) included in each data block
of received packet. This mode is used for several purposes such as mode
for SMPTE time code, sync to the other sound cards and so on.

This commit adds support for the SPH mode.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191030080644.1704-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/motu-pcm.c
sound/firewire/motu/motu-proc.c
sound/firewire/motu/motu-protocol-v2.c
sound/firewire/motu/motu-protocol-v3.c
sound/firewire/motu/motu.h