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>
This commit is contained in:

committed by
Takashi Iwai

parent
22f7458714
commit
4c4871a805
@@ -139,6 +139,7 @@ int snd_ff_stream_lock_try(struct snd_ff *ff);
|
||||
void snd_ff_stream_lock_release(struct snd_ff *ff);
|
||||
|
||||
void snd_ff_proc_init(struct snd_ff *ff);
|
||||
const char *snd_ff_proc_get_clk_label(enum snd_ff_clock_src src);
|
||||
|
||||
int snd_ff_create_midi_devices(struct snd_ff *ff);
|
||||
|
||||
|
Reference in New Issue
Block a user