summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorArun KS <arunks@codeaurora.org>2017-01-16 15:27:48 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-02 12:15:43 -0700
commit5fd242b1280bd6a70cd7d7c13528c679df7260f8 (patch)
tree0fb0474e903e9b2c01b4257956bc5e9cbf60224c /include/uapi
parent40d37c9304d63754207c9ad28b62a24dc7dbf8cc (diff)
esoc: Add err_fatal signal status to clink_ops
Auto_boot esoc devices can boot and crash before esoc driver comes up. But there is no way for the user space code to know that it has crashed by looking at status line alone. Hence, create a new ioctl entry to export status of err_fatal line to user space. Change-Id: Ie7d6115c749d4c63f06aefca29ba457d38eccc7f Signed-off-by: Arun KS <arunks@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/esoc_ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/esoc_ctrl.h b/include/uapi/linux/esoc_ctrl.h
index 57266ed29fb3..d0743790e09c 100644
--- a/include/uapi/linux/esoc_ctrl.h
+++ b/include/uapi/linux/esoc_ctrl.h
@@ -7,6 +7,7 @@
#define ESOC_WAIT_FOR_REQ _IOR(ESOC_CODE, 2, unsigned int)
#define ESOC_NOTIFY _IOW(ESOC_CODE, 3, unsigned int)
#define ESOC_GET_STATUS _IOR(ESOC_CODE, 4, unsigned int)
+#define ESOC_GET_ERR_FATAL _IOR(ESOC_CODE, 5, unsigned int)
#define ESOC_WAIT_FOR_CRASH _IOR(ESOC_CODE, 6, unsigned int)
#define ESOC_REG_REQ_ENG _IO(ESOC_CODE, 7)
#define ESOC_REG_CMD_ENG _IO(ESOC_CODE, 8)