Merge tag 'drivers-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[firefly-linux-kernel-4.4.55.git] / kernel / time / ntp.c
index af8d1d4f3d55156eaae7936b1a34d8cd7141248f..419a52cecd20c4fa2cac2fab666b1be48a4e9f4b 100644 (file)
@@ -514,12 +514,13 @@ static void sync_cmos_clock(struct work_struct *work)
                next.tv_sec++;
                next.tv_nsec -= NSEC_PER_SEC;
        }
-       schedule_delayed_work(&sync_cmos_work, timespec_to_jiffies(&next));
+       queue_delayed_work(system_power_efficient_wq,
+                          &sync_cmos_work, timespec_to_jiffies(&next));
 }
 
 void ntp_notify_cmos_timer(void)
 {
-       schedule_delayed_work(&sync_cmos_work, 0);
+       queue_delayed_work(system_power_efficient_wq, &sync_cmos_work, 0);
 }
 
 #else