diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-05-19 16:12:30 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-05-25 11:05:09 +0200 |
commit | 494a94e38dcf62543a32a4424d646ff80b4b28bd (patch) | |
tree | 56ea8628826cc55545f68ca9d7aa90254abf8927 /COPYING | |
parent | a0d50aa9350a02d8fe6adb95c6daa738318d6140 (diff) | |
download | linux-494a94e38dcf62543a32a4424d646ff80b4b28bd.tar.gz linux-494a94e38dcf62543a32a4424d646ff80b4b28bd.tar.bz2 linux-494a94e38dcf62543a32a4424d646ff80b4b28bd.zip |
gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
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: e6cb3486f5a1 ("gpio: dwapb: add gpio-signaled acpi event support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://lore.kernel.org/r/20200519131233.59032-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions