summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c
diff options
context:
space:
mode:
authorEvan Wilson <evan@oliodevices.com>2015-11-19 15:31:33 -0800
committerEvan Wilson <evan@oliodevices.com>2015-11-19 15:31:33 -0800
commita1d50659148c062e73d526a9230802adec2941bb (patch)
treee92874ffb845340a20cb3fc7318aa69771de2066 /drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c
parent1a235b233ce554a896806ee84e98e70e455434ae (diff)
downloadolio-linux-3.10-a1d50659148c062e73d526a9230802adec2941bb.tar.xz
olio-linux-3.10-a1d50659148c062e73d526a9230802adec2941bb.zip
Tuning tap threshold, 6d threshold, and wake lock for better gesture detection
Change-Id: I501a21ebdb3dc3c9654012a66b7229a2e2b0c674
Diffstat (limited to 'drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c')
-rw-r--r--drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c
index d5f6ed5fcf4..7a3b667d502 100644
--- a/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c
+++ b/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c
@@ -201,7 +201,7 @@ static void st_lsm6ds3_irq_management(struct work_struct *data_work)
}
if(!ignore_event && (tap_event || d6d_event) && cdata->first_irq_from_resume){
- wake_lock_timeout(&cdata->tap_wlock,msecs_to_jiffies(500));
+ wake_lock_timeout(&cdata->tap_wlock,msecs_to_jiffies(1000));
#ifdef WAKE_STATS_DEBUG_INFO
wakeup_irq_stayawake_count++;
#endif