diff options
author | Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> | 2024-06-28 17:25:42 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-07-04 00:17:47 +0200 |
commit | f63b94be6942ba82c55343e196bd09b53227618e (patch) | |
tree | 5f6640b0fc857d51711a0911ee8ea9a8f909833b /drivers/i2c/busses/i2c-designware-baytrail.c | |
parent | 22a40d14b572deb80c0648557f4bd502d7e83826 (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