Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb64e8e6 authored by Soundrapandian Jeyaprakash's avatar Soundrapandian Jeyaprakash
Browse files

msm: camera: Initialize variable in camera device handle



Add the missing initializer with appropriate value in
camera device handle structure.

Change-Id: I45715fdf71c2500181d3abca8b91c4cf77281d9e
Signed-off-by: default avatarSoundrapandian Jeyaprakash <jsoundra@codeaurora.org>
parent 7a55bd37
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -382,6 +382,7 @@ int32_t cam_context_acquire_dev_to_hw(struct cam_context *ctx,
	req_hdl_param.v4l2_sub_dev_flag = 0;
	req_hdl_param.media_entity_flag = 0;
	req_hdl_param.priv = ctx;
	req_hdl_param.ops = ctx->crm_ctx_intf;

	ctx->dev_hdl = cam_create_device_hdl(&req_hdl_param);
	if (ctx->dev_hdl <= 0) {