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

Commit 918e46fe 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: skip overflow when no stream is active"

parents a135e394 e6119d50
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1342,6 +1342,10 @@ static void msm_isp_process_overflow_irq(
{
	uint32_t overflow_mask;

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

	/*Mask out all other irqs if recovery is started*/
	if (atomic_read(&vfe_dev->error_info.overflow_state) != NO_OVERFLOW) {
		uint32_t halt_restart_mask0, halt_restart_mask1;