summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/board-omap3h1.c2
-rw-r--r--drivers/staging/iio/imu/inv_mpu/olio_specials.h17
2 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3h1.c b/arch/arm/mach-omap2/board-omap3h1.c
index ff4de235e20..ef85cf0722f 100644
--- a/arch/arm/mach-omap2/board-omap3h1.c
+++ b/arch/arm/mach-omap2/board-omap3h1.c
@@ -685,7 +685,7 @@ static irqreturn_t acc_irq_handler_thr(int irq, void * omap3h1_d) {
*/
send_wake_signal();
- wake_lock_timeout (&acc_wake.lock, msecs_to_jiffies (10 * OLIO_ONE_SECOND));
+ wake_lock_timeout (&acc_wake.lock, msecs_to_jiffies (2 * OLIO_ONE_SECOND));
previous = 0;
} else {
diff --git a/drivers/staging/iio/imu/inv_mpu/olio_specials.h b/drivers/staging/iio/imu/inv_mpu/olio_specials.h
new file mode 100644
index 00000000000..8ed976d17bc
--- /dev/null
+++ b/drivers/staging/iio/imu/inv_mpu/olio_specials.h
@@ -0,0 +1,17 @@
+/* olio_specials.h - header specific to Olio Devices */
+
+/*
+ * Description:
+ * ============
+ * This file holds a couple of #defines needed by the Olio H1 to set the
+ * low power states the way we want them.
+ */
+
+/*
+ * Modification History:
+ * =====================
+ * 01a, 20150331, mfj Created
+ */
+
+#define OLIO_DEF_FREQ 0x03
+#define OLIO_DEF_THRES 0xb0 /* 176 */