summaryrefslogtreecommitdiff
path: root/scripts/mksysmap
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-09-11 00:39:56 (GMT)
committerMark Brown <broonie@linaro.org>2013-09-17 12:07:13 (GMT)
commitcb470087669a3fab1958fec79dd7db280b33f178 (patch)
tree695f7c4d498fcff11d28285c1f5ea1642d903a81 /scripts/mksysmap
parentd191bd8de8c61619563f2b19f1fdcc0944ff1a72 (diff)
downloadlinux-fsl-qoriq-cb470087669a3fab1958fec79dd7db280b33f178.tar.xz
ASoC: add .of_xlate_dai_name on snd_soc_component_driver
ASoC sound driver requires CPU/CODEC drivers for probing, and each CPU/CODEC has some DAI on it. Then, "dai name matching" have been used to identify CPU-CODEC DAI pair on ASoC. But, the "dai port number matching" is now required from DeviceTree. The solution of this issue is to replace the dai port number into dai name. Now, CPU/CODEC are based on struct snd_soc_component, and it can care above as common issue. This patch adds .of_xlate_dai_name callback interface on struct snd_soc_component_driver, and snd_soc_of_get_dai_name() which is using .of_xlate_dai_name. Then, #sound-dai-cells which enables DAI specifier is required on CPU/CODEC device tree properties. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'scripts/mksysmap')
0 files changed, 0 insertions, 0 deletions