diff options
author | Kuninori Morimoto | 2019-11-05 15:47:09 +0900 |
---|---|---|
committer | Mark Brown | 2019-11-05 23:50:43 +0000 |
commit | 5d07519703bc2f0bf19d33652401552a480d68b8 (patch) | |
tree | 22fcc020ebc1dec7a4455a51312389fd28f573e9 /drivers/iio/health | |
parent | e11381f38f34789b374880c4a149e25e8d7f0cfd (diff) |
ASoC: soc-core: have legacy_dai_naming at snd_soc_register_dai()
ALSA SoC has 2 functions.
snd_soc_register_dai() is used from topology
snd_soc_register_dais() is used from snd_soc_add_component()
In general, people think like _dai() is called from _dais()
with for loop. But in reality, these are very similar
but different implementation.
We shouldn't have duplicated and confusing implementation.
snd_soc_register_dai() is now used from topology.
But to reduce duplicated code, it should be used from _dais(), too.
To prepare it, this patch adds missing parameter legacy_dai_naming
to snd_soc_register_dai().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87tv7i251u.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/iio/health')
0 files changed, 0 insertions, 0 deletions