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

Mark Brown broonie at kernel.org
Wed Mar 18 09:17:32 PDT 2026


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20260318/a2f1c5cf/attachment-0001.sig>


More information about the Linux-rockchip mailing list