Re: [PATCH] i2c: virtio: Avoid hang by using interruptible completion wait
From: Andi Shyti <andi.shyti@kernel.org>
Date: 2025-07-14 21:21:17
Also in:
linux-i2c, lkml
From: Andi Shyti <andi.shyti@kernel.org>
Date: 2025-07-14 21:21:17
Also in:
linux-i2c, lkml
Hi Viresh, On Thu, Jul 03, 2025 at 05:01:02PM +0530, Viresh Kumar wrote:
The current implementation uses wait_for_completion(), which can cause the caller to hang indefinitely if the transfer never completes. Switch to wait_for_completion_interruptible() so that the operation can be interrupted by signals. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
merged to i2c/i2c-host-fixes. Thanks, Andi