diff options
| author | Trishansh Bhardwaj <tbhardwa@codeaurora.org> | 2018-02-22 15:44:20 +0530 |
|---|---|---|
| committer | Trishansh Bhardwaj <tbhardwa@codeaurora.org> | 2018-02-23 16:50:27 +0530 |
| commit | 789eccbec69f82e70d4617c50b517204ec7411e8 (patch) | |
| tree | e95550f7cf007c9df7876f2fbcfc396b8f24108e | |
| parent | 795ffc9a3bc48767ead6569b14077757e552031f (diff) | |
msm: camera_v2: Define new mcros for result success
Defines below macros.
MSM_CAMERA_CMD_SUCCESS
MSM_CAMERA_BUF_MAP_SUCCESS
Change-Id: Ied4cf83a129dacbcaa2acb83d3dbcd10e2d5d886
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
| -rw-r--r-- | include/uapi/media/msmb_camera.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/media/msmb_camera.h b/include/uapi/media/msmb_camera.h index 4b23806071d4..47d5a998e139 100644 --- a/include/uapi/media/msmb_camera.h +++ b/include/uapi/media/msmb_camera.h @@ -116,6 +116,10 @@ #define MSM_CAMERA_ERR_MAPPING (MSM_CAMERA_ERR_EVT_BASE + 2) #define MSM_CAMERA_ERR_DEVICE_BUSY (MSM_CAMERA_ERR_EVT_BASE + 3) +/* data.status - success values should be same as above*/ +#define MSM_CAMERA_CMD_SUCCESS 0x00000001 +#define MSM_CAMERA_BUF_MAP_SUCCESS 0x00000002 + /* The msm_v4l2_event_data structure should match the * v4l2_event.u.data field. * should not exceed 16 elements */ |
