ASoC: export snd_soc_of_get_slot_mask
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 17 Jul 2018 15:43:02 +0000 (17:43 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jul 2018 16:39:26 +0000 (17:39 +0100)
commitcbdfab3b675f4c34258b0ec9e4707de44e1f6989
treef7242a8441c23b3dba08d1b2df4f2822047a0056
parent13a22e6a98f8b47d61948fcd095d862377b3b143
ASoC: export snd_soc_of_get_slot_mask

Amlogic's axg card driver can't use snd_soc_of_parse_tdm_slot()
directly because it needs to handle 4 mask for each direction.
Yet the parsing of each mask is the same, so export
snd_soc_of_get_slot_mask() to reuse the the existing code.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c