]> 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)
commite9a2eb2b3601d93a71e1df5615922d3915a88034
treeffa7acfc1961b5bd924b8d397096dfdbe837ecbb
parentdffb7600f5c3f4bc98535e9da35e9529eae3aa4f
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