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

Commit 3f6165c6 authored by PersonLiu's avatar PersonLiu Committed by personliu(80717)
Browse files

[Camera]Add for IMX363 AF Driver

Root cause:
N/A

How to fix:
N/A

Change-Id: I0c690595c96bd932070f72818c8d7a58cfe0640b
RiskArea:Main Camera
parent 7770c20c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -118,7 +118,9 @@ static void msm_actuator_parse_i2c_params(struct msm_actuator_ctrl_t *a_ctrl,
				write_arr[i].data_shift) |
				((hw_dword & write_arr[i].hw_mask) >>
				write_arr[i].hw_shift);

//[Camera] Modify for IMX363 module AF Person Liu 20190509 S
				value = abs(1023-value);
//[Camera] Modify for IMX363 module AF Person Liu 20190509 S
			if (write_arr[i].reg_addr != 0xFFFF) {
				i2c_byte1 = write_arr[i].reg_addr;
				i2c_byte2 = value;