ALSA: firewire-motu: minor code refactoring for protocol version 2
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 30 Oct 2019 08:06:42 +0000 (17:06 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2019 09:57:56 +0000 (10:57 +0100)
commit4b2079f80aa065b237955e75d0b627943656b0ab
treec246c63057c1e8b16c2a8da79166eb21557dfb3a
parent3f58f004bff3273d102583e0b2f478526cf9d3c8
ALSA: firewire-motu: minor code refactoring for protocol version 2

This commit adds some helper functions to parse register value for
source of sampling clock and nominal sampling transmission frequency.

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