Commit 52b56846 authored by Anand Moon's avatar Anand Moon

thermal: exynos_thermal: Suppress the debug print for temperature change.

Suppress the debug prints, it overrides the kernel debug messages.

[ 127.273507] [c0] tmu temperature state 0 to 2, cur_temp : 96
[ 127.282718] [c0] tmu temperature state 2 to 0, cur_temp : 95
[ 127.351033] [c0] tmu temperature state 0 to 2, cur_temp : 96
[ 127.367993] [c0] tmu temperature state 2 to 0, cur_temp : 94

Change-Id: I58b3b7db7c48f59eac5ad4ed33cd1fbd44f49aa2
parent ee51085a
...@@ -511,9 +511,9 @@ void exynos_tmu_call_notifier(enum tmu_noti_state_t cur_state, int temp) ...@@ -511,9 +511,9 @@ void exynos_tmu_call_notifier(enum tmu_noti_state_t cur_state, int temp)
else else
blocking_notifier_call_chain(&exynos_tmu_notifier, cur_state, &tmu_old_state); blocking_notifier_call_chain(&exynos_tmu_notifier, cur_state, &tmu_old_state);
if (cur_state == TMU_COLD) if (cur_state == TMU_COLD)
pr_info("tmu temperature state %d to %d\n", tmu_old_state, cur_state); pr_debug("tmu temperature state %d to %d\n", tmu_old_state, cur_state);
else else
pr_info("tmu temperature state %d to %d, cur_temp : %d\n", tmu_old_state, cur_state, temp); pr_debug("tmu temperature state %d to %d, cur_temp : %d\n", tmu_old_state, cur_state, temp);
tmu_old_state = cur_state; tmu_old_state = cur_state;
} }
} }
...@@ -529,7 +529,7 @@ void exynos_gpu_call_notifier(enum gpu_noti_state_t cur_state) ...@@ -529,7 +529,7 @@ void exynos_gpu_call_notifier(enum gpu_noti_state_t cur_state)
cur_state = GPU_COLD; cur_state = GPU_COLD;
if (cur_state != gpu_old_state) { if (cur_state != gpu_old_state) {
pr_info("gpu temperature state %d to %d\n", gpu_old_state, cur_state); pr_debug("gpu temperature state %d to %d\n", gpu_old_state, cur_state);
blocking_notifier_call_chain(&exynos_gpu_notifier, cur_state, &cur_state); blocking_notifier_call_chain(&exynos_gpu_notifier, cur_state, &cur_state);
gpu_old_state = cur_state; gpu_old_state = cur_state;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment