gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip
authorAaron Lu <aaron.lu@intel.com>
Thu, 28 May 2015 02:58:49 +0000 (10:58 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jun 2015 09:22:07 +0000 (11:22 +0200)
commit61e749d7e1627d375156553ea0ae83c4f6bb5a9b
treeacf9147ac98941b17224083a71fba54a0ab9c847
parent50f09073932362d29020b03ca8510f14acc0ca17
gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip

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>
drivers/gpio/gpio-crystalcove.c