Re: [PATCH] pinctrl: amd: add timeout to irq-enable readback
From: Linus Walleij
Date: Mon Sep 14 2026 - 04:32:47 EST
On Tue, Aug 25, 2026 at 5:04 AM Linkai Gong <gonglinkai@xxxxxxxxxx> wrote:
> amd_gpio_irq_set_type() polls INTERRUPT_ENABLE with IRQs off
> and no timeout. Use readl_poll_timeout_atomic() and return
> -ETIMEDOUT.
>
> Fixes: b85bfa246efd ("pinctrl/amd: poll InterruptEnable bits in amd_gpio_irq_set_type")
> Signed-off-by: Linkai Gong <gonglinkai@xxxxxxxxxx>
Looks sane, patch applied.
Yours,
Linus Walleij