]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit280d72c53cef011bef96a40a7634cfa972dd2664
treef7242a8441c23b3dba08d1b2df4f2822047a0056
parent1299b13e0dc5e7848965060544f734fcbf170338
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