summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2015-05-28 10:58:49 +0800
committerSasha Levin <sasha.levin@oracle.com>2015-07-03 23:02:23 -0400
commitd5057382fde844979b3c8b5786232a66522c6dd9 (patch)
tree49c81075bf7040ffd6dfda08d13596aab71ac7e9 /drivers/gpio
parent404e5e8a324ec1443d0567cbb4d0d594f6ca8761 (diff)
downloadlinux-stable-d5057382fde844979b3c8b5786232a66522c6dd9.tar.gz
linux-stable-d5057382fde844979b3c8b5786232a66522c6dd9.tar.bz2
linux-stable-d5057382fde844979b3c8b5786232a66522c6dd9.zip
gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip
[ Upstream commit 61e749d7e1627d375156553ea0ae83c4f6bb5a9b ] The CrystalCove GPIO irqchip doesn't have irq_set_wake callback defined so we should set IRQCHIP_SKIP_SET_WAKE for it or it would cause an irq desc's wake_depth unbalanced warning during system resume phase from the gpio_keys driver, which is the driver for the power button of the ASUS T100 laptop. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Cc: <stable@vger.kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-crystalcove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index a7cf0c193ba8..2a8791cc138a 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b/drivers/gpio/gpio-crystalcove.c
@@ -250,6 +250,7 @@ static struct irq_chip crystalcove_irqchip = {
.irq_set_type = crystalcove_irq_type,
.irq_bus_lock = crystalcove_bus_lock,
.irq_bus_sync_unlock = crystalcove_bus_sync_unlock,
+ .flags = IRQCHIP_SKIP_SET_WAKE,
};
static irqreturn_t crystalcove_gpio_irq_handler(int irq, void *data)