ALSA: firewire-motu: add alternative functions to detect packet format for protocol v3
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 19 May 2020 11:16:35 +0000 (20:16 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 May 2020 14:52:15 +0000 (16:52 +0200)
commit0090c1c5f327da077f371f5f8675a576bca6ebf9
treed3880c3e7e7ed5688f9988a915caccb7e48ecd18
parent28c8d3c91af79de34b2ea540b5385b2da4999e80
ALSA: firewire-motu: add alternative functions to detect packet format for protocol v3

This commit adds alternative functions to detect packet format so that
each function corresponds to each model.

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