]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: snd_soc_component_driver has non_legacy_dai_naming
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Oct 2017 01:38:51 +0000 (01:38 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 23 Oct 2017 09:39:03 +0000 (11:39 +0200)
commit3183e70671e76eb0c11357f1436fcc501aba0651
treeffa7acfc1961b5bd924b8d397096dfdbe837ecbb
parent5c6bb99ce70dfad016b9e909cca4a0a382a793fa
ASoC: snd_soc_component_driver has non_legacy_dai_naming

Codec will be replaced into Component, then Codec side
doesn't use legacy_dai_naming on snd_soc_register_dais().

This patch adds new non_legacy_dai_naming flag on Component driver
and use converted its value for snd_soc_register_dais().

When Codec is replaced into Component, Codec driver needs
to have non_legacy_dai_naming = 1 flags.
Existing CPU side of course doesn't have this flag, thus CPU calls
it as true.

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