ALSA: firewire-motu: code refactoring for detection of clock source in v2 protocol
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 23 Jun 2021 07:59:34 +0000 (16:59 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jun 2021 08:17:24 +0000 (10:17 +0200)
commit25eb438920e43ff49c6041a23619f22af6b21a5c
tree6f72e2da106c9c8a26aaff9d610204f1aee6f242
parentfa4db23233eb912234bdfb0b26a38be079c6b5ea
ALSA: firewire-motu: code refactoring for detection of clock source in v2 protocol

Current implementation of driver has two similar helper functions for
source detection of sampling clock. This commit merges them as a code
refactoring.

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