mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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.
Fixes: 13d6eb20fc ("i2c: imx-lpi2c: add runtime pm support")
Signed-off-by: Clark Wang <[email protected]>
Signed-off-by: Carlos Song <[email protected]>
Cc: <[email protected]> # v4.16+
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andi Shyti <[email protected]>