]> 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)
commitf7d541561daffc7afda0b4fa07b7c99cba8faaa7
tree1a74dba38f987253ce354b12fafe55338eb251a2
parent213079cd4ad99df3ed716304c111a3bb7fed1a03
ASoC: audio-graph: respawn Platform Support

commit b0f24f54285b88 ("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