Thread (20 messages) 20 messages, 7 authors, 2024-09-10

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

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2024-06-28 07:48:43
Also in: alsa-devel, dmaengine, linux-arm-kernel, linux-clk, linux-devicetree, linux-i2c, linux-sound, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help