gpio: gpio-xilinx: update on suspend and resume calls
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Thu, 3 Jun 2021 16:49:00 +0000 (22:19 +0530)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Jun 2021 20:13:23 +0000 (22:13 +0200)
commitbe4dc321a55cfee3099a1bd9399d0cd4ac080c23
tree095e412916ba0957531d543e60fb8f4af6c17d54
parent35d7b72a632bc7afb15356f44005554af8697904
gpio: gpio-xilinx: update on suspend and resume calls

Current AXI GPIO driver checking for interrupt data in suspend and
resume path and reporting as error in case of no interrupt connection.
As per AXI GPIO IP specification interrupt connection is optional,
driver logic is updated in suspend and resume calls by reporting
debug message and enable/disable clock in case of no connection.

Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-xilinx.c