[PATCH 0/4] ASoC:: don't use snd_soc_rtdcom_lookup()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Apr 22 06:46:30 CEST 2020


Hi Mark
Cc related engineer

These patches are tring to not to use snd_soc_rtdcom_lookup() function
on each drivers as much as possible,  because we might have same name
component under multi component situation.
It can't find correct component in such case.

I tried to add new feature on each drivers to not to use it,
but I can't test.
Thus, these patches should get Acked-by or Tested-by from each drivers
user/maintenor. Please test these.

After these patches, Intel / SOF drivers are still using
snd_soc_rtdcom_lookup(). Because it is very complex, I couldn't try
not to use it.
If possible, each drivers should try to not use it,
and it should be removed from ASoC.

Kuninori Morimoto (4):
  ASoC: mediatek: don't use snd_soc_rtdcom_lookup()
  ASoC: intel: baytrail: don't use snd_soc_rtdcom_lookup()
  ASoC: intel: haswell: don't use snd_soc_rtdcom_lookup()
  ASoC: amd: don't use snd_soc_rtdcom_lookup()

 sound/soc/amd/raven/acp3x-pcm-dma.c         |  6 ------
 sound/soc/intel/baytrail/sst-baytrail-pcm.c | 13 +++++++------
 sound/soc/intel/haswell/sst-haswell-pcm.c   |  4 +++-
 sound/soc/mediatek/common/mtk-afe-fe-dai.c  | 12 +++++-------
 sound/soc/mediatek/common/mtk-afe-fe-dai.h  |  3 ++-
 sound/soc/mediatek/common/mtk-base-afe.h    |  6 ++++--
 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c  |  6 ++++--
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c  | 11 ++++-------
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c  |  7 ++++---
 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c  | 11 ++++-------
 10 files changed, 37 insertions(+), 42 deletions(-)

-- 
2.17.1



More information about the Alsa-devel mailing list