]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: add snd_soc_daifmt_clock_provider_from_bitmap()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 14 Jun 2021 00:56:46 +0000 (09:56 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:05:15 +0000 (13:05 +0100)
commit42590604243d2bcc063df6cddd4c1d3f606319a1
tree58cf780066746b0e1a74da0e9088196933b406b4
parenta6c44c8e5e9eba986f19ae7e547cd1a80e6c9097
ASoC: soc-core: add snd_soc_daifmt_clock_provider_from_bitmap()

This patch adds snd_soc_daifmt_clock_provider_from_bitmap() function
to judge clock/frame master from its bitmap.
This is prepare for snd_soc_of_parse_daifmt() cleanup.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87a6ntw9f5.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c