aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwspinlock/hwspinlock_internal.h
diff options
context:
space:
mode:
authorAmbresh K <ambresh@ti.com>2012-01-23 16:46:07 +0530
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:55:44 +0200
commit44bccf860052ed78c3c9c1e4aa6fbce8b58470eb (patch)
tree0b39d5f9310b4449270cd293af4825ee3faa9460 /drivers/hwspinlock/hwspinlock_internal.h
parentb0a25502d21caabcacdb47261d6bc71db52c5795 (diff)
downloadkernel_samsung_tuna-44bccf860052ed78c3c9c1e4aa6fbce8b58470eb.tar.gz
kernel_samsung_tuna-44bccf860052ed78c3c9c1e4aa6fbce8b58470eb.tar.bz2
kernel_samsung_tuna-44bccf860052ed78c3c9c1e4aa6fbce8b58470eb.zip
GPIO: OMAP2+: On suspend don't wakeup on non-wakeupable interrupts.
While in suspend, device should only be woken-up from those gpio pins, who has explicitly marked itself has wakeup capable through enable_irq_wake() functions from respective drivers. In current implementation, it address the issue where interrupts were lost when system had entered deeper c-state. So in CpuIdle path all the pins with interrupts enabled where marked has wakeup capable to get the system out of deeper c-states. With this approach, it is observed that lots of spurious interrupts are waking system from suspend, even though they not suppose wake the device. So based on, whether prepare idle is called from CpuIdle or suspend mark gpio wakeup capable. Change-Id: Ib3f9be6e56c0656f4b8736861740ed0b4394384f Signed-off-by: Ambresh K <ambresh@ti.com> Signed-off-by: Hema Kalliguddi <hemahk@ti.com>
Diffstat (limited to 'drivers/hwspinlock/hwspinlock_internal.h')
0 files changed, 0 insertions, 0 deletions