aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorVladimir Riabchun <[email protected]>2024-12-07 00:19:34 +0100
committerAndi Shyti <[email protected]>2024-12-10 15:50:50 +0100
commit7363f2d4c18557c99c536b70489187bb4e05c412 (patch)
tree565bdbbac1f68a9dd73ff6ec2a145c64a1fb034b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
i2c: pnx: Fix timeout in wait functions
Since commit f63b94be6942 ("i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr") jiffies are stored in i2c_pnx_algo_data.timeout, but wait_timeout and wait_reset are still using it as milliseconds. Convert jiffies back to milliseconds to wait for the expected amount of time. Fixes: f63b94be6942 ("i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr") Signed-off-by: Vladimir Riabchun <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions