summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-designware-baytrail.c
diff options
context:
space:
mode:
authorPiotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>2024-06-28 17:25:42 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-07-04 00:17:47 +0200
commitf63b94be6942ba82c55343e196bd09b53227618e (patch)
tree5f6640b0fc857d51711a0911ee8ea9a8f909833b /drivers/i2c/busses/i2c-designware-baytrail.c
parent22a40d14b572deb80c0648557f4bd502d7e83826 (diff)
i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-baytrail.c')
0 files changed, 0 insertions, 0 deletions