ALSA: fireface: code refactoring to parse of clock configuration
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 20 Jan 2019 08:25:52 +0000 (17:25 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Jan 2019 14:12:23 +0000 (15:12 +0100)
commit4c4871a8055a1ff95fbd415d426d7e1d4b763edb
treed151627408a8f756df3bb6cc1db72fc71434ac05
parent22f745871408a58223e2f87e3d4e43d10229e61a
ALSA: fireface: code refactoring to parse of clock configuration

A procedure to retrieve clock configuration is used by two callers.
Each of caller has duplicated code to parse bits.

This commit adds refactoring to remove the duplicated code.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-proc.c
sound/firewire/fireface/ff-protocol-former.c
sound/firewire/fireface/ff.h