Loading drivers/media/platform/msm/camera_v2/camera/camera.c +10 −1 Original line number Diff line number Diff line Loading @@ -69,8 +69,17 @@ static int camera_check_event_status(struct v4l2_event *event) __func__); pr_err("%s : Line %d event_data->status 0X%x\n", __func__, __LINE__, event_data->status); switch (event_data->status) { case MSM_CAMERA_ERR_CMD_FAIL: case MSM_CAMERA_ERR_MAPPING: return -EFAULT; case MSM_CAMERA_ERR_DEVICE_BUSY: return -EBUSY; default: return -EFAULT; } } return 0; } Loading include/media/msmb_camera.h +1 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ #define MSM_CAMERA_ERR_EVT_BASE 0x00010000 #define MSM_CAMERA_ERR_CMD_FAIL (MSM_CAMERA_ERR_EVT_BASE + 1) #define MSM_CAMERA_ERR_MAPPING (MSM_CAMERA_ERR_EVT_BASE + 2) #define MSM_CAMERA_ERR_DEVICE_BUSY (MSM_CAMERA_ERR_EVT_BASE + 3) /* The msm_v4l2_event_data structure should match the * v4l2_event.u.data field. Loading Loading
drivers/media/platform/msm/camera_v2/camera/camera.c +10 −1 Original line number Diff line number Diff line Loading @@ -69,8 +69,17 @@ static int camera_check_event_status(struct v4l2_event *event) __func__); pr_err("%s : Line %d event_data->status 0X%x\n", __func__, __LINE__, event_data->status); switch (event_data->status) { case MSM_CAMERA_ERR_CMD_FAIL: case MSM_CAMERA_ERR_MAPPING: return -EFAULT; case MSM_CAMERA_ERR_DEVICE_BUSY: return -EBUSY; default: return -EFAULT; } } return 0; } Loading
include/media/msmb_camera.h +1 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ #define MSM_CAMERA_ERR_EVT_BASE 0x00010000 #define MSM_CAMERA_ERR_CMD_FAIL (MSM_CAMERA_ERR_EVT_BASE + 1) #define MSM_CAMERA_ERR_MAPPING (MSM_CAMERA_ERR_EVT_BASE + 2) #define MSM_CAMERA_ERR_DEVICE_BUSY (MSM_CAMERA_ERR_EVT_BASE + 3) /* The msm_v4l2_event_data structure should match the * v4l2_event.u.data field. Loading