summaryrefslogtreecommitdiff
path: root/include/linux/wakeup_reason.h
diff options
context:
space:
mode:
authorsravan <sravan@mindtribe.com>2015-07-27 19:53:23 -0700
committerEvan Wilson <evan@oliodevices.com>2015-08-07 12:53:29 -0700
commit520faa59b2288d97379977b7863a7b3543ad2438 (patch)
treea5dc551fc9b9fa2d23a978efb766d87a1a12926c /include/linux/wakeup_reason.h
parentfb2a8e4a7820040a7968731cf679c5a8e13cd17b (diff)
downloadolio-linux-3.10-520faa59b2288d97379977b7863a7b3543ad2438.tar.xz
olio-linux-3.10-520faa59b2288d97379977b7863a7b3543ad2438.zip
Checking the wakeup reason to get around the ST IMU not latching tap interrupts
Signed-off-by: Evan Wilson <evan@oliodevices.com> Change-Id: Iebe64b4c5de646f408fff0431d17d79ea9692e1f
Diffstat (limited to 'include/linux/wakeup_reason.h')
-rw-r--r--include/linux/wakeup_reason.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/wakeup_reason.h b/include/linux/wakeup_reason.h
index 7ce50f0debc..b58723ab7c7 100644
--- a/include/linux/wakeup_reason.h
+++ b/include/linux/wakeup_reason.h
@@ -19,5 +19,7 @@
#define _LINUX_WAKEUP_REASON_H
void log_wakeup_reason(int irq);
+int get_last_wakeup_reason();
+int last_wakeup_reason_test(int reason);
#endif /* _LINUX_WAKEUP_REASON_H */