twx-linux/drivers/i2c
Clark Wang ddf4e7f0f5 i2c: imx-lpi2c: Fix clock count when probe defers
commit b1852c5de2f2a37dd4462f7837c9e3e678f9e546 upstream.

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: 13d6eb20fc79 ("i2c: imx-lpi2c: add runtime pm support")
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Cc: <stable@vger.kernel.org> # v4.16+
Link: https://lore.kernel.org/r/20250421062341.2471922-1-carlos.song@nxp.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-09 09:43:50 +02:00
..
algos
busses i2c: imx-lpi2c: Fix clock count when probe defers 2025-05-09 09:43:50 +02:00
muxes i2c: mux: demux-pinctrl: check initial mux selection, too 2025-01-23 17:21:12 +01:00
i2c-atr.c i2c: atr: Fix wrong include 2025-04-25 10:45:46 +02:00
i2c-boardinfo.c
i2c-core-acpi.c i2c: Force ELAN06FA touchpad I2C bus freq to 100KHz 2025-02-17 09:40:08 +01:00
i2c-core-base.c i2c: core: Lock address during client device instantiation 2024-10-10 11:58:01 +02:00
i2c-core-of.c
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h
i2c-dev.c
i2c-mux.c
i2c-slave-eeprom.c
i2c-slave-testunit.c i2c: testunit: avoid re-issued work after read message 2024-07-18 13:21:26 +02:00
i2c-smbus.c i2c: smbus: Send alert notifications to all devices if source not found 2024-08-14 13:58:51 +02:00
i2c-stub.c
Kconfig
Makefile