Re: [PATCH v5] media: qcom: iris: use disable_irq() during power-off
From: Dmitry Baryshkov
Date: Fri Jun 12 2026 - 03:57:25 EST
On Wed, Jun 10, 2026 at 02:15:11PM +0000, Hungyu Lin wrote:
> The IRQ is registered as a threaded IRQ.
>
> Using disable_irq_nosync() in iris_vpu_power_off() does not wait
> for an already queued threaded IRQ handler to complete before
> returning.
>
> Replace it with disable_irq() so the power-off path waits for any
> in-flight threaded handler before returning.
>
> Suggested-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
> Signed-off-by: Hungyu Lin <dennylin0707@xxxxxxxxx>
> ---
> v5:
> - Drop the runtime PM check in the threaded IRQ handler.
> - Use disable_irq() instead of disable_irq_nosync() in the power-off path,
> as suggested by Konrad Dybcio.
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry