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

Commit 97ed37d8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: lmh_lite: Fix the intensity calculation"

parents 80aedf84 293013e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -366,7 +366,7 @@ static void lmh_read_and_update(struct lmh_driver_data *lmh_dat)

				lmh_sensor->last_read_value =
					(payload.sensor[idx].max_intensity) ?
					(payload.sensor[idx].intensity
					((payload.sensor[idx].intensity * 100)
					/ payload.sensor[idx].max_intensity)
					: payload.sensor[idx].intensity;
				trace_lmh_sensor_reading(