Re:Re: [PATCH v15 03/14] gpio: regmap: remove gpiochip before tearing down irqchip

From: zl020895

Date: Thu Nov 26 2026 - 06:01:17 EST


At 2026-11-19 15:40:14, "Andy Shevchenko" <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>So, AFAIR Michael rose the question that this patch makes the unregister flow
>not reverse symmetrical to the register one. I took a look at this and I can
>say that this is a bit twisted. The pure creation part is independent, but
>to function it requires GPIO chip to be instantiated. So, yeah, this patch
>is a bit controversial. Let me see what we can do here.
Hi Andy,

Any conclusion on the unregister ordering in 03/14? I have a v16 ready
(Sashiko IRQ-defer fix). OK to send v16 as-is, or should I wait for your proposal
on the teardown order?

Best regards,
Long Zhao