ASoC: audio-graph: respawn Platform Support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 30 Aug 2021 00:44:44 +0000 (09:44 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 1 Sep 2021 15:26:35 +0000 (16:26 +0100)
commit5f939f49771002f347039edf984aca42f30fc31a
tree1a74dba38f987253ce354b12fafe55338eb251a2
parentcd5e4efde23ad8050921672ed777ec3f7aa310ec
ASoC: audio-graph: respawn Platform Support

commit 63f2f9cceb09f8 ("ASoC: audio-graph: remove Platform support")
removed Platform support from audio-graph, because it doesn't have
"plat" support on DT (simple-card has).
But, Platform support is needed if user is using
snd_dmaengine_pcm_register() which adds generic DMA as Platform.
And this Platform dev is using CPU dev.

Without this patch, at least STM32MP15 audio sound card is no more
functional (v5.13 or later). This patch respawn Platform Support on
audio-graph again.

Reported-by: Olivier MOYSAN <olivier.moysan@foss.st.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Olivier MOYSAN <olivier.moysan@foss.st.com>
Link: https://lore.kernel.org/r/878s0jzrpf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c