summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub.h
diff options
context:
space:
mode:
authorViditha Hanumanthareddy <ngjq36@motorola.com>2014-05-14 07:17:14 -0500
committerViditha H <ngjq36@motorola.com>2014-05-14 16:53:22 +0000
commit281ee14b6350aa2cd341507816a28fc067b3578a (patch)
tree9d9298d0a463c2ca896a71828c7ffb9a06c8bac6 /include/linux/m4sensorhub.h
parent65fcccea0ee3987f0fef3047adde958e7cd62103 (diff)
downloadolio-linux-3.10-281ee14b6350aa2cd341507816a28fc067b3578a.tar.xz
olio-linux-3.10-281ee14b6350aa2cd341507816a28fc067b3578a.zip
IKXCLOCK-1233: Hold a timed wakelock for m4 events
A few m4 interrupts/events like gesture, rtc alarm that can occur when kernel is suspended need enough time to allow the event to reach the higher layer before kernel suspends again. The absence of this was causing gestures & rtc alarm to get missed by the higher layers. Change-Id: Ibf10a1a031bd279ef2a488214498036c648220dc
Diffstat (limited to 'include/linux/m4sensorhub.h')
-rw-r--r--include/linux/m4sensorhub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/m4sensorhub.h b/include/linux/m4sensorhub.h
index deb6bd0d45a..4b0cdd62eb8 100644
--- a/include/linux/m4sensorhub.h
+++ b/include/linux/m4sensorhub.h
@@ -191,7 +191,7 @@ void m4sensorhub_irq_shutdown(struct m4sensorhub_data *m4sensorhub);
int m4sensorhub_irq_register(struct m4sensorhub_data *m4sensorhub,
enum m4sensorhub_irqs irq,
void (*cb_func) (enum m4sensorhub_irqs, void *),
- void *data);
+ void *data, uint8_t enable_timed_wakelock);
int m4sensorhub_irq_unregister(struct m4sensorhub_data *m4sensorhub,
enum m4sensorhub_irqs irq);
int m4sensorhub_irq_disable(struct m4sensorhub_data *m4sensorhub,