gpio: ep93xx: Fix single irqchip with multi gpiochips
authorNikita Shubin <nikita.shubin@maquefel.me>
Tue, 9 Feb 2021 13:31:05 +0000 (16:31 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 10 Feb 2021 13:47:27 +0000 (14:47 +0100)
commit28dc10eb77a2db7681b08e3b109764bbe469e347
tree4e96e21d92eba2d6ff1b0b67afdb14de98a35648
parent8b81a7ab8055d01d827ef66374b126eeac3bd108
gpio: ep93xx: Fix single irqchip with multi gpiochips

Fixes the following warnings which results in interrupts disabled on
port B/F:

gpio gpiochip1: (B): detected irqchip that is shared with multiple gpiochips: please fix the driver.
gpio gpiochip5: (F): detected irqchip that is shared with multiple gpiochips: please fix the driver.

- added separate irqchip for each interrupt capable gpiochip
- provided unique names for each irqchip

Fixes: d2b091961510 ("gpio: ep93xx: Pass irqchip when adding gpiochip")
Cc: <stable@vger.kernel.org>
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-ep93xx.c