26 Apr
2024
26 Apr
'24
6 a.m.
Hi
Step1 dpcm_xxx flag will be "option flag" instead of "mandatory flag" for a while to keep compatibility and avoide confusion. But it will be removed in Step3. To indicate such things, it will have dev_warn() if dpcm_xxx flag was used. like below
if (rtd->dai_link->dynamic || rtd->dai_link->no_pcm) { has_playback = /* at least one of CPU DAI supports playback */ has_capture = ...
if (!playback && rtd->dai_link->dpcm_playback) { dev_warn(dev, "Playback is requested, but CPU doesn't support it\n") has_playback = 1; } ...
I noticed that this Step is not needed, because all existing driver has both dpcm_xxx and availability. Instead, We want to have warning to indicate to use xxx_only flag if dpcm_xxx was used as limit availability.
Thank you for your help !!
Best regards --- Renesas Electronics Ph.D. Kuninori Morimoto