]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: tegra: add gpio wakeup source handling
authorJoseph Lo <josephl@nvidia.com>
Wed, 3 Apr 2013 11:31:44 +0000 (19:31 +0800)
committerStephen Warren <swarren@nvidia.com>
Wed, 3 Apr 2013 20:31:20 +0000 (14:31 -0600)
commitdc9665cba2ae4aeeb00c1fa9561f7a2e7e929ff3
tree68dc169ee437a4191dde36366e70e7f8ea5112b7
parentd0c13253d658b23da90d1fc83d890f706fd52c74
gpio: tegra: add gpio wakeup source handling

This patch add the gpio wakeup source handling for the Tegra platform. It
was be done by enabling the irq for the gpio in the gpio controller and
enabling the bank irq of the gpio in the Tegra legacy irq controller when
the system going to suspend.

Based on the work by:
Varun Wadekar <vwadekar@nvidia.com>

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/gpio/gpio-tegra.c