OSDN Git Service

esoc: Add err_fatal signal status to clink_ops
authorArun KS <arunks@codeaurora.org>
Mon, 16 Jan 2017 09:57:48 +0000 (15:27 +0530)
committerArun KS <arunks@codeaurora.org>
Sun, 30 Apr 2017 05:51:18 +0000 (11:21 +0530)
commit5c846e4f7c3c31ab503d9a6b1a5bd485edf68275
tree13eb9004002cfb199c3f5ababa26d414f2b7f06f
parent98bc7be821d179e206f57478547e63c14aa6580c
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>
drivers/esoc/esoc-mdm-4x.c
drivers/esoc/esoc.h
drivers/esoc/esoc_dev.c
include/uapi/linux/esoc_ctrl.h