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

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

Merge "msm: camera: Dont call recovery for inactive streams"

parents 3740b95c 68090980
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1807,6 +1807,10 @@ void msm_isp_halt_send_error(struct vfe_device *vfe_dev, uint32_t event)
		/* Recovery is already in Progress */
		return;

	/* if there are no active streams - do not start recovery */
	if (!vfe_dev->axi_data.num_active_stream)
		return;

	if (event == ISP_EVENT_PING_PONG_MISMATCH &&
		vfe_dev->axi_data.recovery_count < MAX_RECOVERY_THRESHOLD) {
		pr_err("%s: ping pong mismatch on vfe%d recovery count %d\n",