diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-01-20 17:25:52 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-21 15:12:23 +0100 |
commit | 4c4871a8055a1ff95fbd415d426d7e1d4b763edb (patch) | |
tree | d151627408a8f756df3bb6cc1db72fc71434ac05 /sound/firewire/fireface/ff.h | |
parent | 22f745871408a58223e2f87e3d4e43d10229e61a (diff) | |
download | linux-4c4871a8055a1ff95fbd415d426d7e1d4b763edb.tar.gz |
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>
Diffstat (limited to 'sound/firewire/fireface/ff.h')
-rw-r--r-- | sound/firewire/fireface/ff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/firewire/fireface/ff.h b/sound/firewire/fireface/ff.h index 1de2f5ec26fd..cdb16e931c31 100644 --- a/sound/firewire/fireface/ff.h +++ b/sound/firewire/fireface/ff.h @@ -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); |