Re: [PATCH 1/3] ASoC: soc-dai: add shared BCLK clock for cross-DAI rate constraints

From: Mark Brown

Date: Thu Apr 30 2026 - 08:02:55 EST


On Thu, Apr 30, 2026 at 03:46:01PM +0800, Troy Mitchell wrote:

> @@ -116,10 +116,27 @@ int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio)
> dai->driver->ops->set_bclk_ratio)
> ret = dai->driver->ops->set_bclk_ratio(dai, ratio);
>
> + dai->bclk_ratio = ratio;
> +
> return soc_dai_ret(dai, ret);
> }

This needs an error check, if the op fails we'll write the error code as
the BCLK ratio.

Attachment: signature.asc
Description: PGP signature