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

Commit 48f9fb74 authored by Depeng Shao's avatar Depeng Shao
Browse files

msm: camera: isp: Only RDI path can access RDI resource



Only RDI path can access RDI resource.

CRs-Fixed: 2721399
Change-Id: I7afecd86d5c07f317e8960eae5d0a08caef8b620
Signed-off-by: default avatarDepeng Shao <depengs@codeaurora.org>
parent 4cc0fd54
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2812,7 +2812,8 @@ static int cam_ife_csid_release(void *hw_priv,
			csid_hw->ipp_path_config.measure_enabled = 0;
		else if (res->res_id == CAM_IFE_PIX_PATH_RES_PPP)
			csid_hw->ppp_path_config.measure_enabled = 0;
		else
		else if (res->res_id >= CAM_IFE_PIX_PATH_RES_RDI_0 &&
			res->res_id <= CAM_IFE_PIX_PATH_RES_RDI_3)
			csid_hw->rdi_path_config[res->res_id].measure_enabled
				= 0;
		break;