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

Commit 8a98b24a authored by PersonLiu's avatar PersonLiu
Browse files

[Camera]Add for IMX363 AF Driver

Root cause:
N/A

How to fix:
N/A

Change-Id: Iff30130d93fead2f00511a19279371ad8d390c3a
RiskArea:Main Camera
parent 17207ef9
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;