Re: [PATCH] ASoC: rockchip: rockchip_sai: Set slot width for non-TDM mode

From: Mark Brown

Date: Wed Mar 18 2026 - 12:40:44 EST


On Wed, Mar 18, 2026 at 06:50:25PM +0400, Alexey Charkov wrote:

> regmap_update_bits(sai->regmap, reg, SAI_XCR_VDW_MASK | SAI_XCR_CSR_MASK, val);
>
> + if (!sai->is_tdm)
> + regmap_update_bits(sai->regmap, reg, SAI_XCR_SBW_MASK,
> + SAI_XCR_SBW(params_physical_width(params)));
> +

What happens if playback and capture have different widths? I wonder if
forcing a TDM configuration with the affected CODECs would be easier.

Attachment: signature.asc
Description: PGP signature