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

Commit c62f4015 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: Dont call recovery for inactive streams"

parents eaca04e8 31da9c9b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1745,6 +1745,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",