]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1f80f1bbe03a96643463bb71a659808d0d18724
tree1a74dba38f987253ce354b12fafe55338eb251a2
parent4d15243b36911d04bcacff5901ec282a181a1ae7
ASoC: audio-graph: respawn Platform Support

commit 4063804005fed9 ("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