Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-reg…
…istration Add missed acpi_gpiochip_free_interrupts() call when unregistering ports. While at it, drop extra check to call acpi_gpiochip_request_interrupts(). There is no need to have an additional check to call acpi_gpiochip_request_interrupts(). Even without any interrupts available the registered ACPI Event handlers can be useful for debugging purposes. Fixes: e6cb348 ("gpio: dwapb: add gpio-signaled acpi event support") Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Serge Semin <[email protected]> Acked-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information