summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-sensorhub.c
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 /drivers/rtc/rtc-sensorhub.c
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 'drivers/rtc/rtc-sensorhub.c')
-rw-r--r--drivers/rtc/rtc-sensorhub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-sensorhub.c b/drivers/rtc/rtc-sensorhub.c
index 92e19700c3b..4939ff8874f 100644
--- a/drivers/rtc/rtc-sensorhub.c
+++ b/drivers/rtc/rtc-sensorhub.c
@@ -263,7 +263,7 @@ static int rtc_sensorhub_init(struct init_calldata *p_arg)
err = m4sensorhub_irq_register(p_priv_data->p_m4sensorhub_data,
M4SH_IRQ_AP_ALARM_EXPIRED,
rtc_handle_sensorhub_irq,
- p_priv_data);
+ p_priv_data, 1);
if (err < 0)
pr_err("%s: irq register failed\n", DRIVER_NAME);