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

Commit 98b25366 authored by Jigarkumar Zala's avatar Jigarkumar Zala
Browse files

msm: camera: cci: Use cell index while registering with cpas



To support multiple cci clients, use associated cell index
while registering cci with cpas driver.

Change-Id: Ib7542f8eb896ce4236be97abb7d43a465fa15295
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent b2bdf7dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ static int cam_cci_platform_probe(struct platform_device *pdev)
#endif

	cpas_parms.cam_cpas_client_cb = NULL;
	cpas_parms.cell_index = 0;
	cpas_parms.cell_index = soc_info->index;
	cpas_parms.dev = &pdev->dev;
	cpas_parms.userdata = new_cci_dev;
	strlcpy(cpas_parms.identifier, "cci", CAM_HW_IDENTIFIER_LENGTH);