]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c1ab5278553c9295d588e342ddef00a77556f22
treebb1c6717ca83278b70fd9cf5dfda9b1de838039c
parent751fbc8a7d4f18ae5c018b3e081099ba076edce9
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