Loading drivers/thermal/msm_thermal.c +9 −3 Original line number Diff line number Diff line Loading @@ -1386,7 +1386,9 @@ static __ref int do_hotplug(void *data) } while (!kthread_should_stop()) { wait_for_completion(&hotplug_notify_complete); while (wait_for_completion_interruptible( &hotplug_notify_complete) != 0) ; INIT_COMPLETION(hotplug_notify_complete); mask = 0; Loading Loading @@ -1933,7 +1935,9 @@ static __ref int do_freq_mitigation(void *data) uint32_t cpu = 0, max_freq_req = 0, min_freq_req = 0; while (!kthread_should_stop()) { wait_for_completion(&freq_mitigation_complete); while (wait_for_completion_interruptible( &freq_mitigation_complete) != 0) ; INIT_COMPLETION(freq_mitigation_complete); get_online_cpus(); Loading Loading @@ -2332,7 +2336,9 @@ static __ref int do_thermal_monitor(void *data) struct therm_threshold *sensor_list; while (!kthread_should_stop()) { wait_for_completion(&thermal_monitor_complete); while (wait_for_completion_interruptible( &thermal_monitor_complete) != 0) ; INIT_COMPLETION(thermal_monitor_complete); for (i = 0; i < MSM_LIST_MAX_NR; i++) { Loading Loading
drivers/thermal/msm_thermal.c +9 −3 Original line number Diff line number Diff line Loading @@ -1386,7 +1386,9 @@ static __ref int do_hotplug(void *data) } while (!kthread_should_stop()) { wait_for_completion(&hotplug_notify_complete); while (wait_for_completion_interruptible( &hotplug_notify_complete) != 0) ; INIT_COMPLETION(hotplug_notify_complete); mask = 0; Loading Loading @@ -1933,7 +1935,9 @@ static __ref int do_freq_mitigation(void *data) uint32_t cpu = 0, max_freq_req = 0, min_freq_req = 0; while (!kthread_should_stop()) { wait_for_completion(&freq_mitigation_complete); while (wait_for_completion_interruptible( &freq_mitigation_complete) != 0) ; INIT_COMPLETION(freq_mitigation_complete); get_online_cpus(); Loading Loading @@ -2332,7 +2336,9 @@ static __ref int do_thermal_monitor(void *data) struct therm_threshold *sensor_list; while (!kthread_should_stop()) { wait_for_completion(&thermal_monitor_complete); while (wait_for_completion_interruptible( &thermal_monitor_complete) != 0) ; INIT_COMPLETION(thermal_monitor_complete); for (i = 0; i < MSM_LIST_MAX_NR; i++) { Loading