diff options
author | 2024-06-28 17:25:42 +0200 | |
---|---|---|
committer | 2024-07-04 00:17:47 +0200 | |
commit | f63b94be6942ba82c55343e196bd09b53227618e (patch) | |
tree | 5f6640b0fc857d51711a0911ee8ea9a8f909833b /scripts/generate_rust_analyzer.py | |
parent | Linux 6.10-rc6 (diff) | |
download | linux-rng-f63b94be6942ba82c55343e196bd09b53227618e.tar.xz linux-rng-f63b94be6942ba82c55343e196bd09b53227618e.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions