]> 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)
commitb73ce892d23a6d0c03607a894897d360a8218da9
tree8f740d1f11fed70a02e1d1517f46f8b143f54fc1
parentf8832acd5dc9e0f53df05d2b5535d58c4699ad74
gpio: pca953x: Use PCA_LATCH_INT

The commit 98e24f9e97ea

  ("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