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

Commit d09e3fba authored by Paras Nagda's avatar Paras Nagda Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Initialize pic_struct to unknown as default



pic_struct needs to be initialized to default,
failing to do so will set the event to insufficient
in handle_event_change().

Change-Id: Iefe48f5ae6dd3832b0328c3dec00b56ff4291182
Signed-off-by: default avatarParas Nagda <pnagda@codeaurora.org>
parent 0e6e8a2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ static int hfi_process_sess_evt_seq_changed(u32 device_id,
	struct hfi_colour_space *colour_info;

	 /* Initialize pic_struct to unknown as default */
	//event_notify.pic_struct = MSM_VIDC_PIC_STRUCT_UNKNOWN;
	event_notify.pic_struct = MSM_VIDC_PIC_STRUCT_UNKNOWN;

	if (sizeof(struct hfi_msg_event_notify_packet) > pkt->size) {
		dprintk(VIDC_ERR,