]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: Use PCA_LATCH_INT
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 5 Mar 2019 09:13:46 +0000 (11:13 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Mar 2019 13:11:30 +0000 (14:11 +0100)
commitbb48c575944e41301656ffd4005f4597e58d0b51
tree8f740d1f11fed70a02e1d1517f46f8b143f54fc1
parent70438f086ce65ef405bbcd8ee897587573491f4c
gpio: pca953x: Use PCA_LATCH_INT

The commit ec9d91b999c2

  ("gpio: pca953x: set the PCA_PCAL flag also when matching by DT")

introduces a helper macro which tells that chip supports latched interrupts,
but the macro was never used for ACPI or legacy enumeration.

So, make use of it for legacy and ACPI enumeration.

Cc: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c