Re: [PATCH v2 4/6] ASoC: SDCA: add sdca_asoc_dai_is_pdm() helper

From: Charles Keepax

Date: Tue Oct 20 2026 - 06:21:30 EST


On Tue, Oct 20, 2026 at 08:38:54AM +0100, Srinivas Kandagatla wrote:
> Resolve the SDCA terminal type for a DAI and return true for the
> spec-defined PDM terminals (SDCA_TERM_TYPE_RAW_PDM_MIC and
> SDCA_TERM_TYPE_PDM_RENDER_STREAM).
>
> Used by sdca_class_function to tag PDM streams; expose it so other
> SDCA codec drivers can share the check.
>
> Assisted-by: LLM
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>

Thanks,
Charles