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

Commit 0cf3a1ac authored by Baruch Siach's avatar Baruch Siach Committed by Eduardo Valentin
Browse files

thermal: armada: fix formula documentation comment



The formula implementation at armada_get_temp() indicates that the sign
in the formula is inverted.

Cc: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 1fba81cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ struct armada_thermal_data {
	/* Test for a valid sensor value (optional) */
	bool (*is_valid)(struct armada_thermal_priv *);

	/* Formula coeficients: temp = (b + m * reg) / div */
	/* Formula coeficients: temp = (b - m * reg) / div */
	unsigned long coef_b;
	unsigned long coef_m;
	unsigned long coef_div;