kernel_samsung_a53x/drivers/i2c
Piotr Wojtaszczyk cd8ea7bd01 i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
[ Upstream commit f63b94be6942ba82c55343e196bd09b53227618e ]

When del_timer_sync() is called in an interrupt context it throws a warning
because of potential deadlock. The timer is used only to exit from
wait_for_completion() after a timeout so replacing the call with
wait_for_completion_timeout() allows to remove the problematic timer and
its related functions altogether.

Fixes: 41561f28e76a ("i2c: New Philips PNX bus driver")
Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:42 +01:00
..
algos Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
busses i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr 2024-11-19 14:19:42 +01:00
muxes i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() 2024-11-18 10:58:31 +01:00
i2c-boardinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-base.c i2c: smbus: fix NULL function pointer dereference 2024-11-19 11:32:40 +01:00
i2c-core-of.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-slave.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core.h i2c: core: Fix atomic xfer check for non-preempt config 2024-11-18 12:12:08 +01:00
i2c-dev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-mux.c i2c: mux: Avoid potential false error message in i2c_mux_add_adapter 2024-11-08 11:26:15 +01:00
i2c-slave-eeprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-slave-testunit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-stub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00