PKGBUILDs/core/linux-odroid-xu3/0001-remove-thermal-messages.patch

36 lines
1.3 KiB
Diff
Raw Normal View History

2015-11-12 01:55:40 +00:00
From dec0de6bdf0acee4ebaa6dd570d50561f88d02db Mon Sep 17 00:00:00 2001
2014-12-05 04:05:16 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 4 Dec 2014 20:59:39 -0700
2015-06-17 13:32:31 +00:00
Subject: [PATCH 1/2] remove thermal messages
2014-12-05 04:05:16 +00:00
---
drivers/thermal/exynos_thermal.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c
2015-11-12 01:55:40 +00:00
index 287708d..772334e 100644
2014-12-05 04:05:16 +00:00
--- a/drivers/thermal/exynos_thermal.c
+++ b/drivers/thermal/exynos_thermal.c
2015-11-12 01:55:40 +00:00
@@ -512,10 +512,6 @@ void exynos_tmu_call_notifier(enum tmu_noti_state_t cur_state, int temp)
2014-12-05 04:05:16 +00:00
blocking_notifier_call_chain(&exynos_tmu_notifier, TMU_COLD, &cur_state);
else
blocking_notifier_call_chain(&exynos_tmu_notifier, cur_state, &tmu_old_state);
- if (cur_state == TMU_COLD)
2015-11-12 01:55:40 +00:00
- pr_debug("tmu temperature state %d to %d\n", tmu_old_state, cur_state);
2014-12-05 04:05:16 +00:00
- else
2015-11-12 01:55:40 +00:00
- pr_debug("tmu temperature state %d to %d, cur_temp : %d\n", tmu_old_state, cur_state, temp);
2014-12-05 04:05:16 +00:00
tmu_old_state = cur_state;
}
}
2015-11-12 01:55:40 +00:00
@@ -531,7 +527,6 @@ void exynos_gpu_call_notifier(enum gpu_noti_state_t cur_state)
2014-12-05 04:05:16 +00:00
cur_state = GPU_COLD;
if (cur_state != gpu_old_state) {
2015-11-12 01:55:40 +00:00
- pr_debug("gpu temperature state %d to %d\n", gpu_old_state, cur_state);
2014-12-05 04:05:16 +00:00
blocking_notifier_call_chain(&exynos_gpu_notifier, cur_state, &cur_state);
gpu_old_state = cur_state;
}
--
2015-11-12 01:55:40 +00:00
2.6.1
2014-12-05 04:05:16 +00:00