[alsa-devel] [PATCH 0/7][RFC] ASoC: modern style CPU
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Mon Apr 8 04:31:01 CEST 2019
Hi Mark
These are RFC of modern style CPU support.
modern style dai_link needs CPU/Codec/Platform array and its size,
but it will be very ugly code. To avoid it, 3) adds macro.
4) - 7) are sample code for switching to modern style dai_link.
4), 5) are good sample for single CPU/Codec/Platform.
6), 7) are good sample for multi Codec.
Almost all sound cards will get similar patch.
I think these can work, but I can't test these.
So, it is very useful if someone can test these.
If these are all OK (= test/review), I can post patch-set
for all sound cards.
1) ASoC: soc-core: use snd_soc_dai_link_component for CPU
2) ASoC: simple-card: support snd_soc_dai_link_component style for cpu
3) ASoC: soc.h: add sound dai_link connection macro
4) ASoC: samsung: smdk_wm8580: use modern dai_link style
5) ASoC: samsung: smdk_wm8994: use modern dai_link style
6) ASoC: mediatek: mt8173-rt5650-rt5676: use modern dai_link style
7) ASoC: mediatek: mt8173-rt5650-rt5514: use modern dai_link style
Thank you for your help !!
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list