[PATCH] ASoC: rockchip: i2s-tdm: Use param rate if not provided by set_sysclk

Mark Brown broonie at kernel.org
Thu Feb 19 04:34:44 PST 2026


On Thu, Feb 19, 2026 at 10:37:18AM +0100, Alexandre Belloni wrote:
> On 18/02/2026 15:18:34-0500, Detlev Casanova wrote:

> > +		if (!mclk_rate)
> > +			mclk_rate = DEFAULT_MCLK_FS * params_rate(params);
> > +

> Maybe this could be set as the default value of i2s_tdm->mclk_rx_freq
> and i2s_tdm->mclk_tx_freq in rockchip_i2s_tdm_probe instead of relying
> on it being 0 and testing later on?

That makes sense but since this is fixing a regression and I'd like to
get the fix in I'll apply, we can improve things incrementally.
-------------- 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/20260219/12309452/attachment.sig>


More information about the Linux-rockchip mailing list