summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorDhruva Gole <d-gole@ti.com>2023-04-03 12:54:43 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 12:04:38 +0200
commit9f71fc8a580820deb67f631f544ed0c2f30f93a9 (patch)
treee85bdc9a897fa34acbed7aa469c53ac730c8c0ef /drivers/gpio
parentf394f690a30a5ec0413c62777a058eaf3d6e10d5 (diff)
downloadlinux-stable-9f71fc8a580820deb67f631f544ed0c2f30f93a9.tar.gz
linux-stable-9f71fc8a580820deb67f631f544ed0c2f30f93a9.tar.bz2
linux-stable-9f71fc8a580820deb67f631f544ed0c2f30f93a9.zip
gpio: davinci: Add irq chip flag to skip set wake
[ Upstream commit 7b75c4703609a3ebaf67271813521bc0281e1ec1 ] Add the IRQCHIP_SKIP_SET_WAKE flag since there are no special IRQ Wake bits that can be set to enable wakeup IRQ. Fixes: 3d9edf09d452 ("[ARM] 4457/2: davinci: GPIO support") Signed-off-by: Dhruva Gole <d-gole@ti.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-davinci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index abb332d15a13..ead75c1062fb 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -327,7 +327,7 @@ static struct irq_chip gpio_irqchip = {
.irq_enable = gpio_irq_enable,
.irq_disable = gpio_irq_disable,
.irq_set_type = gpio_irq_type,
- .flags = IRQCHIP_SET_TYPE_MASKED,
+ .flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE,
};
static void gpio_irq_handler(struct irq_desc *desc)