From d9d10f921a50e6e6e2c1d3f27ebe4561187e994a Mon Sep 17 00:00:00 2001 From: Eric Tashakkor Date: Mon, 6 Oct 2014 12:07:07 -0500 Subject: 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 --- include/linux/m4sensorhub.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/linux/m4sensorhub.h') 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__ */ -- cgit v1.2.3-70-g09d2