From 3a3f6a5cb21e391d57c2900a522943fcb3468b4d Mon Sep 17 00:00:00 2001 From: Jignesh Mehta Date: Fri, 22 Apr 2016 18:06:47 -0700 Subject: 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 --- include/uapi/media/msmb_camera.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/uapi') 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" -- cgit v1.2.3