]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: imx: Add wake functionality to GPIO
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Sat, 23 Oct 2010 14:12:48 +0000 (09:12 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 26 Oct 2010 14:24:06 +0000 (16:24 +0200)
commita3484ffd2acc196ca934369395fe9aac63ed1a47
tree92f11daf8ea4419dd9d2d27913211190996fd6cc
parentf2d36ecbca2f7a4cde2821a8a70f6f799442e33f
ARM: imx: Add wake functionality to GPIO

Add function definition for irq_chip.set_wake to enable GPIO to
wake-up the system.

This patch has been tested on a MX51 Babbage system that had suspend
code implemented. The set_wake implementation is necessary for a
GPIO to wake up a system from suspend.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/gpio.c