diff options
author | Ambresh K <ambresh@ti.com> | 2011-06-15 13:40:45 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-16 08:40:43 -0600 |
commit | 55b220cafadd71b9f83759f7b396998b2547dc5f (patch) | |
tree | 220005da0cc200ed5f385d3077ef86f1a5e80a4a /arch | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff) | |
download | linux-3.10-55b220cafadd71b9f83759f7b396998b2547dc5f.tar.gz linux-3.10-55b220cafadd71b9f83759f7b396998b2547dc5f.tar.bz2 linux-3.10-55b220cafadd71b9f83759f7b396998b2547dc5f.zip |
gpio/omap4: Fix missing interrupts during device wakeup due to IOPAD.
If gpio pins from bank[2-5] are marked as wakeup enable and if the wake is
through gpio IO pad wakeup, then that wakeup gpio interrupt is lost.
In the current implementation, GPIO driver stores the context of DATAIN of
all the gpio in the bank. During GPIO resuming, it checks DATAIN with wakeup
enabled pins of gpio bank. If there is status change, then manually toggle
GPIO_LEVELDETECT to generate pseudo interrupt.
Reported-by: Philippe Mazet <p-mazet@ti.com>
Tested-by: Philippe Mazet <p-mazet@ti.com>
Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions