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

Commit 2ab44181 authored by Arun KS's avatar Arun KS Committed by manohar
Browse files

msm: ais: Fix cast to wrong size



This gives the correct size casting of soc_private->cpas_handle in
cam_cpas_reg_read.so change unit32_t to unit 64_t.

Change-Id: I6d093f2349cfb20ba12734689c53c4cefe0444eb
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent b62aaff3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -396,11 +396,11 @@ static int cam_vfe_fe_reg_dump(
		CAM_INFO(CAM_ISP, "offset 0x%x val 0x%x", i, val);
	}

	cam_cpas_reg_read((uint32_t)soc_private->cpas_handle,
	cam_cpas_reg_read((uint64_t)soc_private->cpas_handle,
		CAM_CPAS_REG_CAMNOC, 0x420, true, &val);
	CAM_INFO(CAM_ISP, "IFE02_MAXWR_LOW offset 0x420 val 0x%x", val);

	cam_cpas_reg_read((uint32_t)soc_private->cpas_handle,
	cam_cpas_reg_read((uint64_t)soc_private->cpas_handle,
		CAM_CPAS_REG_CAMNOC, 0x820, true, &val);
	CAM_INFO(CAM_ISP, "IFE13_MAXWR_LOW offset 0x820 val 0x%x", val);