gpio: zynq: restore zynq_gpio_irq_reqres/zynq_gpio_irq_relres callbacks
authorDaniel Mack <daniel@zonque.org>
Fri, 1 Sep 2023 12:24:24 +0000 (14:24 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 6 Sep 2023 15:08:51 +0000 (17:08 +0200)
commit180b10bd160b014448366e5bc86e0558f8acb74f
tree39d3ab8bfb7a9d3653622ca3ca5a4b75d0d9a4d5
parent65d6e954e37872fd9afb5ef3fc0481bb3c2f20f4
gpio: zynq: restore zynq_gpio_irq_reqres/zynq_gpio_irq_relres callbacks

Commit f56914393537 ("gpio: zynq: fix zynqmp_gpio not an immutable chip
warning") ditched the open-coded resource allocation handlers in favor
of the generic ones. These generic handlers don't maintain the PM
runtime anymore, which causes a regression in that level IRQs are no
longer reported.

Restore the original handlers to fix this.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Fixes: f56914393537 ("gpio: zynq: fix zynqmp_gpio not an immutable chip warning")
Cc: stable@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-zynq.c