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

Andi Shyti andi.shyti at kernel.org
Tue Apr 29 01:20:33 PDT 2025


Hi Carlos,

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.
> 
> 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>

merged to i2c/i2c-host-fixes with all the changes I suggested.

Thanks,
Andi



More information about the linux-arm-kernel mailing list