Message ID | 201108142330.42720.rjw@sisk.pl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux/drivers/thermal/thermal_sys.c =================================================================== --- linux.orig/drivers/thermal/thermal_sys.c +++ linux/drivers/thermal/thermal_sys.c @@ -678,10 +678,10 @@ static void thermal_zone_device_set_poll return; if (delay > 1000) - schedule_delayed_work(&(tz->poll_queue), + queue_delayed_work(system_freezable_wq, &(tz->poll_queue), round_jiffies(msecs_to_jiffies(delay))); else - schedule_delayed_work(&(tz->poll_queue), + queue_delayed_work(system_freezable_wq, &(tz->poll_queue), msecs_to_jiffies(delay)); }