summaryrefslogtreecommitdiff
path: root/drivers/misc/m4sensorhub_download.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/misc/m4sensorhub_download.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/misc/m4sensorhub_download.c')
-rw-r--r--drivers/misc/m4sensorhub_download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/m4sensorhub_download.c b/drivers/misc/m4sensorhub_download.c
index 85206e228f9..bdd75c33677 100644
--- a/drivers/misc/m4sensorhub_download.c
+++ b/drivers/misc/m4sensorhub_download.c
@@ -317,7 +317,7 @@ static int download_driver_init(struct init_calldata *p_arg)
struct m4sensorhub_data *m4sensorhub = p_arg->p_m4sensorhub_data;
ret = m4sensorhub_irq_register(m4sensorhub, M4SH_IRQ_DLCMD_RESP_READY,
m4_handle_download_irq,
- misc_download_data);
+ misc_download_data, 0);
if (ret < 0) {
KDEBUG(M4SH_ERROR, "Error registering int %d (%d)\n",
M4SH_IRQ_DLCMD_RESP_READY, ret);