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

Commit 072d6376 authored by Fairphone ODM's avatar Fairphone ODM Committed by android-t1
Browse files

[1 of 2][10279758]device power on

 ###%%%comment:[1 of 2]device power on
 ###%%%bug number:10279758
 ###%%%product name:n10
 ###%%%root cause:Coding
 ###%%%Bug category:T2M
 ###%%%regression response:NO
 ###%%%regression comments:
 ###%%%Module_Impact:kernel
 ###%%%Test_Suggestion:device can power on
 ###%%%Solution:change thermal relate code base on ottawa PCB
 ###%%%Test_Report:on
 ###%%%VAL Can Test:No

Change-Id: I2b7c774b0c6c2ab218adb38426605b193f8f070f
parent b97665a2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -374,7 +374,12 @@ int qg_get_battery_temp(struct qpnp_qg *chip, int *temp)
		pr_err("Failed reading BAT_TEMP over ADC rc=%d\n", rc);
		return rc;
	}
	pr_debug("batt_temp = %d\n", *temp);
/*zxzadd just for power on, should remove below code when device power on !!!  begin */
	pr_err("batt_temp11 = %d\n", *temp);

	*temp = 250;
	pr_err("fix batt_temp22 = %d\n", *temp);
/*zxzadd just for power on, should remove below code when device power on !!!  end */

	return 0;
}