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

Commit 68529f16 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Add check for rdi only usecases



While enabling sof irq debug logs, incase only IFE
lite is acquired we don't need to enable IRQ on the IPP
path. Hence add a check to validate if IPP is enabled that's
when we would enable the SOF irq on that path.

Change-Id: I4bf4637abaa488596f4be89ead913ef700ccdef4
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 18969568
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -2792,6 +2792,7 @@ static int cam_ife_csid_sof_irq_debug(
	if (*((uint32_t *)cmd_args) == 1)
		sof_irq_enable = true;

	if (csid_reg->ipp_reg) {
		val = cam_io_r_mb(soc_info->reg_map[0].mem_base +
			csid_reg->ipp_reg->csid_pxl_irq_mask_addr);

@@ -2805,6 +2806,7 @@ static int cam_ife_csid_sof_irq_debug(
				csid_reg->ipp_reg->csid_pxl_irq_mask_addr);
			val = 0;
		}
	}

	for (i = 0; i < csid_reg->cmn_reg->num_rdis; i++) {
		val = cam_io_r_mb(soc_info->reg_map[0].mem_base +