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

Commit ff50d719 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Add null check for vfe_dev."

parents 44564fc3 7a95ffc2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -547,6 +547,12 @@ static void msm_isp_cfg_framedrop_reg(
	enum msm_vfe_input_src frame_src = SRC_TO_INTF(stream_info->stream_src);
	int i;

	if (vfe_dev == NULL) {
		pr_err("%s %d returning vfe_dev is NULL\n",
			__func__,  __LINE__);
		return;
	}

	if (vfe_dev->axi_data.src_info[frame_src].frame_id >=
		stream_info->init_frame_drop)
		runtime_init_frame_drop = 0;