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

Commit 4682501c authored by Venkat Chinta's avatar Venkat Chinta
Browse files

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: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent 3a756cef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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