Files
pmaports-rtwo/device/archived/linux-amazon-austin/silence-thermal-logspam.patch
T
Aelin cfbc1de3c7 treewide: archive unmaintained packages under device/
Command to reproduce:
grep -L '^maintainer="[^"]\+"$' device/{main,community,testing,downstream}/*/APKBUILD | sed 's/\/APKBUILD//' | xargs -i sh -c 'sed -i "1s;^;# Archived: unmaintained\n;" {}/APKBUILD && mv {} device/archived/ && git add {} && git add device/archived/'

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8883>
2026-06-22 19:26:47 +00:00

28 lines
891 B
Diff

diff --git a/drivers/thermal/virtual_sensor_thermal.c b/drivers/thermal/virtual_sensor_thermal.c
index d3f7265a..1fb47593 100644
--- a/drivers/thermal/virtual_sensor_thermal.c
+++ b/drivers/thermal/virtual_sensor_thermal.c
@@ -186,14 +186,14 @@ static int virtual_sensor_thermal_get_temp(struct thermal_zone_device *thermal,
log_to_metrics(ANDROID_LOG_INFO, "ThermalEvent", buf);
}
#endif
- if (0 == sec_counter)
- pr_warning("%s %s t=%ld a=%d o=%d w=%d\n",
- __func__,
- tdev->name,
- temp,
- alpha,
- offset,
- weight);
+// if (0 == sec_counter)
+// pr_warning("%s %s t=%ld a=%d o=%d w=%d\n",
+// __func__,
+// tdev->name,
+// temp,
+// alpha,
+// offset,
+// weight);
if (!tdev->off_temp)
tdev->off_temp = temp - offset;