mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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: Tony Lijo Jose <tjose@codeaurora.org>
This commit is contained in:
parent
9b8cae4b7c
commit
c515d1506d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue