ASoC: core: add support to snd_soc_dai_get_channel_map()
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 23 Jul 2018 15:54:03 +0000 (16:54 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 24 Jul 2018 11:06:43 +0000 (12:06 +0100)
commit467b061f1ac80f323bedb56d20a24f7bc0d2cec5
tree6b0d2a57284cccef0d1ac53b3b1fb86d5048c7a4
parenta241c3d95b8b985834d218eedde3923ed683e862
ASoC: core: add support to snd_soc_dai_get_channel_map()

On Qualcomm platforms, specifically with SLIMbus interfaced codecs,
the codec slim channel numbers are passed to DSP while configuring
the slim audio path. Having get_channel_map() would allow dais to
share such information across multiple dais.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/soc-core.c