diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-07 16:23:58 -0700 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-07-08 14:05:11 +0200 |
| commit | b11c513ad943f35cf5e8007d3a56279c79b7ed4b (patch) | |
| tree | 8bc0aad837bca311d2ee6039ad16e9d40ac3fe7a /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | 4ad805f0e41acf56ac54855c666d34c59ad66fe7 (diff) | |
gpio: mvebu: free generic chips on unbind
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.
Fixes: 812d47889a8e ("gpio/mvebu: Use irq_domain_add_linear")
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260707232358.1218077-1-rosenp@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
