diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-06-18 13:49:06 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-06-22 18:51:53 +0200 |
commit | 5d8913504ccfeea6120df5ae1c6f4479ff09b931 (patch) | |
tree | bb0536e57caa4745869fee1b218c8085770516e0 /security/Kconfig.hardening | |
parent | gpio: pca953x: disable regmap locking for automatic address incrementing (diff) | |
download | linux-5d8913504ccfeea6120df5ae1c6f4479ff09b931.tar.xz linux-5d8913504ccfeea6120df5ae1c6f4479ff09b931.zip |
gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2
When adding a quirk for IRQ on Intel Galileo Gen 2 the commit ba8c90c61847
("gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2")
missed GPIO resource release. We can safely do this in the same quirk, since
IRQ will be locked by GPIO framework when requested and unlocked on freeing.
Fixes: ba8c90c61847 ("gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'security/Kconfig.hardening')
0 files changed, 0 insertions, 0 deletions