gpio: zynq: Disable the irq if it is not a wakeup source
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Wed, 17 Jun 2020 11:37:25 +0000 (17:07 +0530)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 24 Jun 2020 10:16:39 +0000 (12:16 +0200)
commit26ebdbf8c2e311759d88c0b0cf26126715e932c6
treebb1c6717ca83278b70fd9cf5dfda9b1de838039c
parent675002448eee5a9f96bfeb9b057e12a60a004b6c
gpio: zynq: Disable the irq if it is not a wakeup source

If gpio is not set to wake disable the interrupt. ATF set all slaves with
enabled interrupts as wakeup sources and if gpio is used in r5 then it
wakes up linux.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-zynq.c