Re: [PATCH] gpio: mvebu: free generic chips on unbind

From: Bartosz Golaszewski

Date: Wed Jul 08 2026 - 08:05:32 EST



On Tue, 07 Jul 2026 16:23:58 -0700, Rosen Penev wrote:
> irq_alloc_domain_generic_chips() allocates generic chip data that must
> be freed via irq_domain_remove_generic_chips(). The devres action
> mvebu_gpio_remove_irq_domain() only called irq_domain_remove(), which
> only frees the generic chips if IRQ_DOMAIN_FLAG_DESTROY_GC is set.
> Call irq_domain_remove_generic_chips() explicitly before
> irq_domain_remove() instead.
>
> [...]

Applied, thanks!

[1/1] gpio: mvebu: free generic chips on unbind
https://git.kernel.org/brgl/c/b11c513ad943f35cf5e8007d3a56279c79b7ed4b

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>