summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJignesh Mehta <jigneshm@codeaurora.org>2016-04-22 18:06:47 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-15 16:17:00 -0700
commit3a3f6a5cb21e391d57c2900a522943fcb3468b4d (patch)
treeea683c39d53d436e1144ad44fef23ebbc8eaf6fe /include/uapi
parent0bc7633e036cbdaf2228fab00a12033daf7513e6 (diff)
msm:camera: Enable/Disable camera daemon
Camera daemon process is moving to mediaserver process. MCT will send contol command to indicate camera daemon is present or not. For backward compatibility, add check so kernel can support camera daemon present and camera daemon not present. Change-Id: Ia9e45f539bd5ec0d2edfe9bfb90942d88b6d30da Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/media/msmb_camera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/media/msmb_camera.h b/include/uapi/media/msmb_camera.h
index f16479c250e2..092551d0cc16 100644
--- a/include/uapi/media/msmb_camera.h
+++ b/include/uapi/media/msmb_camera.h
@@ -23,6 +23,9 @@
#define MSM_CAM_V4L2_IOCTL_NOTIFY_DEBUG \
_IOW('V', BASE_VIDIOC_PRIVATE + 34, struct msm_v4l2_event_data)
+#define MSM_CAM_V4L2_IOCTL_DAEMON_DISABLED \
+ _IOW('V', BASE_VIDIOC_PRIVATE + 35, struct msm_v4l2_event_data)
+
#define QCAMERA_DEVICE_GROUP_ID 1
#define QCAMERA_VNODE_GROUP_ID 2
#define MSM_CAMERA_NAME "msm_camera"