[Patch v5 12/12] i2x: pnx: Fix potential deadlock warning from del_timer_sync() call in isr

Krzysztof Kozlowski krzk at kernel.org
Fri Jun 28 17:48:29 AEST 2024


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



More information about the Linuxppc-dev mailing list