pinctrl: mcp23s08: Check only GPIOs which have interrupts enabled
authorArturas Moskvinas <arturas.moskvinas@gmail.com>
Thu, 1 Feb 2024 14:14:07 +0000 (16:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Feb 2024 13:32:47 +0000 (14:32 +0100)
commit2c0aafdf4a7c9e6381bcaa7d8aa2e90e42b028d7
treef4c8c0b1b9d6c4eaf65ae12ea4071a443f24d9dc
parent8e4cc358223df13c8842e9a71961a00d0652f341
pinctrl: mcp23s08: Check only GPIOs which have interrupts enabled

GPINTEN register contains information about GPIOs with enabled
interrupts no need to check other GPIOs for changes.

Signed-off-by: Arturas Moskvinas <arturas.moskvinas@gmail.com>
Link: https://lore.kernel.org/r/20240201141406.32484-2-arturas.moskvinas@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-mcp23s08.c