28 Jun
2024
28 Jun
'24
9:48 a.m.
On 27/06/2024 17:00, Piotr Wojtaszczyk wrote:
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.
Subject typo: i2c
Best regards, Krzysztof