summaryrefslogtreecommitdiff
path: root/include/linux/m4sensorhub.h
diff options
context:
space:
mode:
authorEric Tashakkor <w36098@motorola.com>2014-10-06 12:07:07 -0500
committerERIC TASHAKKOR <w36098@motorola.com>2014-11-04 18:06:34 +0000
commitd9d10f921a50e6e6e2c1d3f27ebe4561187e994a (patch)
treec309dd3ec888f07b608af12ed8f9ae9bff6f9aab /include/linux/m4sensorhub.h
parentb3d7ee2041ae40ae8c9426dfd8e0c4b2feaae0c0 (diff)
downloadolio-linux-3.10-d9d10f921a50e6e6e2c1d3f27ebe4561187e994a.tar.xz
olio-linux-3.10-d9d10f921a50e6e6e2c1d3f27ebe4561187e994a.zip
IKXCLOCK-4107 Add Additional M4 Panic Restore Logic
Added user settings recovery to the pedometer driver. Created panic recovery for display and audio statuses. Change-Id: I9520d54d66a7711201d6d17f726afd592365d74a Signed-off-by: Eric Tashakkor <w36098@motorola.com>
Diffstat (limited to 'include/linux/m4sensorhub.h')
-rw-r--r--include/linux/m4sensorhub.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/m4sensorhub.h b/include/linux/m4sensorhub.h
index 5bc54f0885b..5eb2ec0586f 100644
--- a/include/linux/m4sensorhub.h
+++ b/include/linux/m4sensorhub.h
@@ -73,6 +73,7 @@ enum m4sensorhub_panichdl_index {
PANICHDL_ALS_RESTORE,
PANICHDL_MPU9150_RESTORE,
PANICHDL_PEDOMETER_RESTORE,
+ PANICHDL_EXTERN_RESTORE,
/*
* Please add enum before PANICHDL_IRQ_RESTORE
* to make sure IRQ restore will be called last.
@@ -241,5 +242,11 @@ bool m4sensorhub_preflash_callbacks_exist(void); /* For FW flash core */
int m4sensorhub_irq_disable_all(struct m4sensorhub_data *m4sensorhub);
+/* External System Calls for Non-M4 Drivers */
+int m4sensorhub_extern_init(struct m4sensorhub_data *m4); /* Init for core */
+int m4sensorhub_extern_set_audio_status(uint8_t status);
+int m4sensorhub_extern_set_display_status(uint8_t status);
+int m4sensorhub_get_current_mode(void);
+
#endif /* __KERNEL__ */
#endif /* __M4SENSORHUB_H__ */