Переглянути джерело

msm: camera: ife: Add check for DSP enabled in acquire

This change adds a check if DSP is enabled to ensure lower
index IFE cores are acquired since only they support DSP
mode.

CRs-Fixed: 2632139
Change-Id: Ib1be26be9d5afd83f565ddf5adb989ef463d8b8d
Signed-off-by: Venkat Chinta <[email protected]>
Venkat Chinta 5 роки тому
батько
коміт
4682501c82
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -1629,7 +1629,8 @@ static int cam_ife_mgr_acquire_cid_res(
 
 	/* Acquire Left if not already acquired */
 	/* For dual IFE cases, start acquiring the lower idx first */
-	if (ife_ctx->is_fe_enabled || in_port->usage_type)
+	if (ife_ctx->is_fe_enabled || in_port->usage_type ||
+		ife_ctx->dsp_enabled)
 		rc = cam_ife_hw_mgr_acquire_csid_hw(ife_hw_mgr,
 			&csid_acquire, true);
 	else