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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2015 17:10:01 +0000 (10:10 -0700)
commit03c29ef2e86669e356493153d80b5c4ed0fc2f84
tree2001191d7dc12c1ca8885c8da6d43a5d57a43592
parent51c2c47ef6349d49e49002054f8c0d11d3b5646e
gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip

commit 61e749d7e1627d375156553ea0ae83c4f6bb5a9b upstream.

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-crystalcove.c