mbox series

[0/2] ASoC: CPU/Codec connection cleanup - step1

Message ID 87il7mg69z.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
Headers show
Series ASoC: CPU/Codec connection cleanup - step1 | expand

Message

Kuninori Morimoto Oct. 4, 2023, 8:07 a.m. UTC
Hi Mark
Cc Pierre-Louis

I would like to post CPU/Codec connection cleanup patch-set,
but it needs to be tested at many situation.
Thus, I have separate it into small sub-patch-set, and this is step1 of it.

Current soc_get_playback_capture() is checking validation of CPU/Codec,
but it is too complex, and unfortunately wrong when multi CPU/Codec case.
This patch fixup and cleanup it.

Kuninori Morimoto (2):
  ASoC: soc-pcm.c: fixup validation check of multi CPU/Codec on soc_get_playback_capture()
  ASoC: soc-pcm.c: factorize CPU/Codec validation check on soc_get_playback_capture()

 sound/soc/soc-pcm.c | 55 ++++++++++++++++++---------------------------
 1 file changed, 22 insertions(+), 33 deletions(-)