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

Commit 419c2c0e authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: icp: Use icp base while disabling A5



The hfi interface maintains the csr base which it receives
as part of init. If FW download fails we proceed to disable
A5. At this time csr base is not updated yet hence we need to
use the icp base that is passed to this function.

Change-Id: I4322891096a6e7b4c1757acf7c5adedd5ceccd87
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 5c5b688f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -537,7 +537,7 @@ void cam_hfi_disable_cpu(void __iomem *icp_base)
	cam_io_w_mb((uint32_t)ICP_INIT_REQUEST_RESET,
		icp_base + HFI_REG_HOST_ICP_INIT_REQUEST);
	cam_io_w_mb((uint32_t)INTR_DISABLE,
		g_hfi->csr_base + HFI_REG_A5_CSR_A2HOSTINTEN);
		icp_base + HFI_REG_A5_CSR_A2HOSTINTEN);
}

void cam_hfi_enable_cpu(void __iomem *icp_base)