Hi Morimoto-san,
When we use DPCM, we need to set dpcm_playback/capture flag. If these flag are set, soc_get_playback_capture() will check its availability, but non DPCM doesn't need such special flags.
OTOH, it cares playback/capture_only flag. It is needed.
This patch adds new assertion flag, and convert current dpcm_playback dpcm_capture flag and playback/capture_only flag to it.
The Intel CI flags a regression on a CometLake "Helios" Chromebook with this patchset
https://github.com/thesofproject/linux/pull/4937
Apr 19 14:01:22 jf-cml-hel-rt5682-07 kernel: SSP1-Codec: SSP1-Codec capture assertion check error Apr 19 14:01:22 jf-cml-hel-rt5682-07 kernel: sof_rt5682 cml_rt5682_def: ASoC: can't create pcm SSP1-Codec :-22
https://github.com/thesofproject/linux/pull/4937
I don't have any specific knowledge on this device, hope Brent Lu can shed some light on what is so special about this SSP1.
Regards, -Pierre