[PATCH] i2c: imx-lpi2c: Fix clock count when probe defers

Andi Shyti andi.shyti at kernel.org
Fri Apr 25 04:29:10 PDT 2025


On Mon, Apr 21, 2025 at 02:23:41PM +0800, carlos.song at nxp.com wrote:
> From: Clark Wang <xiaoning.wang at nxp.com>
> 
> Deferred probe with pm_runtime_put() may delay clock disable, causing
> incorrect clock usage count. Use pm_runtime_put_sync() to ensure the
> clock is disabled immediately.

What is the outcome of the incorrect clock usage count? Do you
have any logs?

> Signed-off-by: Carlos Song <carlos.song at nxp.com>
> Signed-off-by: Clark Wang <xiaoning.wang at nxp.com>
> Signed-off-by: Jun Li <jun.li at nxp.com>
> Signed-off-by: Haibo Chen <haibo.chen at nxp.com>

Carlo's SoB should be at the end of the chain. Should be nice to
know what these are, though, are they co-developed-by? tested-by?
Why so many SoB's?

(no need to resend for this)

Andi



More information about the linux-arm-kernel mailing list