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

Commit 5a2cf19e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: protect controllable output stream frame skip"

parents d008431f 4a3f9119
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1778,6 +1778,10 @@ int msm_isp_update_axi_stream(struct vfe_device *vfe_dev, void *arg)
			uint32_t framedrop_period =
				msm_isp_get_framedrop_period(
				   update_info->skip_pattern);
			if (stream_info->controllable_output) {
				pr_err("Controllable output streams does not support custom frame skip pattern\n");
				return -EINVAL;
			}
			if (update_info->skip_pattern == SKIP_ALL)
				stream_info->framedrop_pattern = 0x0;
			else