[Linux-stm32] [PATCH v2 04/16] ASoC: sof: Replace dpcm_playback/capture to playback/capture_only
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Mon Apr 1 23:19:22 UTC 2024
Hi Pierre-Louis
> > soc_get_playback_capture() is now handling DPCM and normal comprehensively
> > for playback/capture stream. We can use playback/capture_only flag
> > instead of using dpcm_playback/capture. This patch replace these.
> >
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> > ---
(snip)
> > - if (drv[i].playback.channels_min)
> > - links[i].dpcm_playback = 1;
> > - if (drv[i].capture.channels_min)
> > - links[i].dpcm_capture = 1;
>
> Sorry, I don't see where this functionality is now moved?
> soc_get_playback_capture() doesn't seem to have any logic based on the
> channels_min value?
snd_soc_dai_stream_valid() is judging based on channels_min
Thank you for your help !!
Best regards
---
Renesas Electronics
Ph.D. Kuninori Morimoto
More information about the Linux-stm32
mailing list