]> asedeno.scripts.mit.edu Git - linux.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)
commit69941bab7c7aeaa7bf7e84397e294c17f0b7c6df
treeffa7acfc1961b5bd924b8d397096dfdbe837ecbb
parent273d778ef38a8861f880e9df5799029dc82bd55d
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