OSDN Git Service

gpio: dwapb: Add wakeup source support
authorHoan Tran <hotran@apm.com>
Fri, 8 Sep 2017 22:41:15 +0000 (15:41 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Sep 2017 07:39:24 +0000 (09:39 +0200)
commit6437c7ba69c30a2d3dfd6aa9e8b464c3c4a8cd43
treeaf3d0a473acc0d2f4ac4eda31a9ea0b6e23c0736
parenta621c99a96e64e3d6d5d47745a5e832262ac8f7c
gpio: dwapb: Add wakeup source support

This patch supports irq_set_wake for dwapb gpio. It allows GPIOs
to be configured as wakeup sources and wake the system from suspend.

Signed-off-by: Hoan Tran <hotran@apm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dwapb.c