]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit754b348ba60065e043222f5000a87cdc4269018e
treeacf9147ac98941b17224083a71fba54a0ab9c847
parent57b6ce3dde0fd479c3b8ceb684bf8db8ee9b40b0
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