]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core: support dai_link with platforms_num != 1
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 27 Jun 2019 12:13:50 +0000 (14:13 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jun 2019 12:41:19 +0000 (13:41 +0100)
commitf34d57aa86a2d23bb2c110aded6ee38dd81d46ba
tree0fe6f846ec5dd3083e3d10d7de55c933adba267a
parentd824ca472825fc5958af22089f60a252a0dbe48d
ASoC: soc-core: support dai_link with platforms_num != 1

Add support platforms_num != 1 in dai_link. Initially, the main purpose of
this change was to make the platform optional in the dai_link, instead of
inserting the dummy platform driver.

This particular case had just been solved by Kuninori Morimoto with
commit 4492fea931ad ("ASoC: soc-core: allow no Platform on dai_link").

However, this change may still be useful for those who need multiple
platform components on a single dai_link (it solves one of the FIXME
note in soc-core)

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