]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP3: GPIO: Only enable WAKEUPEN for edge detection GPIOs
authorChunqiu Wang <cqwang@motorola.com>
Wed, 24 Jun 2009 17:13:39 +0000 (17:13 +0000)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 12 May 2010 16:39:16 +0000 (09:39 -0700)
commita5254e6c123f0690647d832f36686b0952700196
treea29983842587a87f5270631026dbb3406a57ad52
parente36733f72ea1a00bf711663afa676bd2db28a232
OMAP3: GPIO: Only enable WAKEUPEN for edge detection GPIOs

According to the GPIO 'Wakeup and Interrupt' section of the TRM[1],
wake-up requests can only be generated on edge transitions.

Also for OMAP3, only edge GPIOs may lose interrupts when PER enters
RET/OFF state, this is addressed by gpio prepare|resume idle functions

[1] Section 25.5.3.1 OMAP34xx_ES3.1_TRM_V_Q

Signed-off-by: Chunqiu Wang <cqwang@motorola.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/plat-omap/gpio.c