Re: [PATCH 2/2] ASoC: codecs: rt5631: Enable the optional MCLK

From: Romain TISSERAND

Date: Sun Oct 25 2026 - 11:24:43 EST


On Sun, 25 Oct 2026 15:12:00 +0000, sashiko-bot@xxxxxxxxxx wrote:
> Should devm_clk_get_optional() be called in rt5631_i2c_probe() in
> sound/soc/codecs/rt5631.c instead of the ASoC component probe callback
> rt5631_probe() (similar to how rt5616_i2c_probe() in
> sound/soc/codecs/rt5616.c acquires its mclk)?

Right: in the component probe a deferral is lost and a rebind leaks the
clock reference. rt5616 moved it to the I2C probe in commit b5c9df40ca56
("ASoC: codecs: rt5616: Move mclk acquisition to the i2c probe"); v2 will
do the same in rt5631_i2c_probe(). Please don't apply v1.

I'll send v2 in about a week.

Romain