[PATCH 06/14] ASoC: mediatek: mt8195: Fix FE startup error handling

Mark Brown broonie at kernel.org
Sun Oct 4 12:49:55 PDT 2026


On Fri, Sep 25, 2026 at 11:49:00AM +0700, phucduc.bui at gmail.com wrote:

> +	ret = snd_pcm_hw_constraint_step(runtime, 0,
> +					 SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
> +					 MT8195_MEMIF_BUFFER_BYTES_ALIGN);
> +	if (ret)
> +		goto err_fe_shutdow;

This will return 1 if a new constraint is installed which is not a
failure.
-------------- 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-mediatek/attachments/20261004/b89f83a6/attachment.sig>


More information about the Linux-mediatek mailing list