diff options
| author | Viditha Hanumanthareddy <ngjq36@motorola.com> | 2014-05-14 07:17:14 -0500 | 
|---|---|---|
| committer | Viditha H <ngjq36@motorola.com> | 2014-05-14 16:53:22 +0000 | 
| commit | 281ee14b6350aa2cd341507816a28fc067b3578a (patch) | |
| tree | 9d9298d0a463c2ca896a71828c7ffb9a06c8bac6 /drivers/misc/m4sensorhub_fusion.c | |
| parent | 65fcccea0ee3987f0fef3047adde958e7cd62103 (diff) | |
| download | olio-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_fusion.c')
| -rw-r--r-- | drivers/misc/m4sensorhub_fusion.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/m4sensorhub_fusion.c b/drivers/misc/m4sensorhub_fusion.c index bd3d426fd78..e426efe9021 100644 --- a/drivers/misc/m4sensorhub_fusion.c +++ b/drivers/misc/m4sensorhub_fusion.c @@ -324,7 +324,7 @@ static int m4fus_driver_init(struct init_calldata *p_arg)  	}  	err = m4sensorhub_irq_register(dd->m4, -		M4SH_IRQ_FUSION_DATA_READY, m4fus_isr, iio); +		M4SH_IRQ_FUSION_DATA_READY, m4fus_isr, iio, 0);  	if (err < 0) {  		m4fus_err("%s: Failed to register M4 IRQ.\n", __func__);  		goto m4fus_driver_init_fail;  |