mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-21 14:21:48 +00:00
gpio: unmap gpio irqs properly
When using the irqchip helper inside the gpiolib, make sure the IRQs are unmapped/disposed before the irqdomain is removed as part of removing the gpiochip. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
2ddf6cd67c
commit
c3626fdea0
2 changed files with 30 additions and 4 deletions
|
@ -107,6 +107,7 @@ struct gpio_chip {
|
|||
*/
|
||||
struct irq_chip *irqchip;
|
||||
struct irq_domain *irqdomain;
|
||||
unsigned int irq_base;
|
||||
irq_flow_handler_t irq_handler;
|
||||
unsigned int irq_default_type;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue