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

Commit 0f5764df authored by yungwenpeng's avatar yungwenpeng
Browse files

Merge branch vanilla into gms

* ssh://ch-git3.arimacomm.com.tw:29418/kernel/msm-4.9:
  Modify the FlashLED current setting since tuning team required
  [Camera]Add for IMX363 AF Driver

Change-Id: If252895a05f52b4422e35da10d966d797a65e451
parents 200bba21 4002b277
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -681,7 +681,7 @@
				qcom,max-current = <1500>;
				qcom,default-led-trigger = "flash0_trigger";
				qcom,id = <0>;
				qcom,current-ma = <1000>;
				qcom,current-ma = <1400>; // [8901][FlashLED][akenhsu] Modify the current setting since tuning team required 20190510
				qcom,duration-ms = <1280>;
				qcom,ires-ua = <12500>;
				qcom,hdrm-voltage-mv = <400>;
@@ -694,7 +694,7 @@
				qcom,max-current = <1500>;
				qcom,default-led-trigger = "flash1_trigger";
				qcom,id = <1>;
				qcom,current-ma = <1000>;
				qcom,current-ma = <1400>; // [8901][FlashLED][akenhsu] Modify the current setting since tuning team required 20190510
				qcom,duration-ms = <1280>;
				qcom,ires-ua = <12500>;
				qcom,hdrm-voltage-mv = <400>;
+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;