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

Commit c515d150 authored by Tony Lijo Jose's avatar Tony Lijo Jose
Browse files

msm: camera: cci: Fix invalid queue size for cci



The queue size of cci hw version 1.2.9 is 64 and 16. Due to wrong
conditional check the cci queue size is assigned wrongly for cci version
1.2.9. This change corrects the cci queue size for cci version 1.2.9.

CRs-Fixed: 2736884
Change-Id: I60508fadec89831f3b877d64631b7da6304c030d
Signed-off-by: default avatarTony Lijo Jose <tjose@codeaurora.org>
parent 9b8cae4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ static int cam_cci_init_master(struct cci_device *cci_dev,
	soc_info = &cci_dev->soc_info;
	base = soc_info->reg_map[0].mem_base;

	if (cci_dev->hw_version != CCI_VERSION_1_2_9) {
	if (cci_dev->hw_version == CCI_VERSION_1_2_9) {
		max_queue_0_size = CCI_I2C_QUEUE_0_SIZE_V_1_2;
		max_queue_1_size = CCI_I2C_QUEUE_1_SIZE_V_1_2;
	} else {