msm: camera: sync: Add SYNC_V4L_EVENT_V2 support in sync driver
Add SYNC_V4L_EVENT_V2 support in sync driver. As part of this change, added the reason code field as part of sync event header. This failure reason code is filled by camera kernel driver and propagate to userspace. CRs-Fixed: 2750553 Change-Id: I206d0d51c38cfe4214814b89d241f51c1f50605b Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
This commit is contained in:
@@ -182,6 +182,7 @@ struct cam_signalable_info {
|
||||
* @cam_sync_eventq : Event queue used to dispatch user payloads to user space
|
||||
* @bitmap : Bitmap representation of all sync objects
|
||||
* @params : Parameters for synx call back registration
|
||||
* @version : version support
|
||||
*/
|
||||
struct sync_device {
|
||||
struct video_device *vdev;
|
||||
@@ -198,6 +199,7 @@ struct sync_device {
|
||||
#if IS_REACHABLE(CONFIG_MSM_GLOBAL_SYNX)
|
||||
struct synx_register_params params;
|
||||
#endif
|
||||
uint32_t version;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user