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

Commit a97e7bcf authored by Peter Liu's avatar Peter Liu
Browse files

msm: camera: isp: fix stats irq handling



Fix the wrong irq handling in ISP47 to avoid
handling a RDI sof to a focus stats buffer done.

Change-Id: I101493f1d02df24e441fe1c69766c1881fe7becc
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent d62a9cbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2122,7 +2122,7 @@ static uint32_t msm_vfe47_stats_get_wm_mask(
	for (i = 0; i < VFE47_NUM_STATS_TYPE; i++)
		if ((irq_status0 >> stats_irq_map_comp_mask[i]) & 0x1)
			comp_mapped_irq_mask |= (1 << i);
	if (irq_status1 >> 26)
	if ((irq_status1 >> 26) & 0x1)
		comp_mapped_irq_mask |= (1 << STATS_COMP_IDX_BF);

	return comp_mapped_irq_mask;