]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/x86/kernel/hpet.c
Merge tag 'rtc-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[thirdparty/linux.git] / arch / x86 / kernel / hpet.c
index 8ff2bf921519dd4da308636c121bb0e16968abe7..a38d0c93a66e825a38987a65fdd09ad97bbae2ec 100644 (file)
@@ -1438,7 +1438,7 @@ irqreturn_t hpet_rtc_interrupt(int irq, void *dev_id)
        memset(&curr_time, 0, sizeof(struct rtc_time));
 
        if (hpet_rtc_flags & (RTC_UIE | RTC_AIE)) {
-               if (unlikely(mc146818_get_time(&curr_time) < 0)) {
+               if (unlikely(mc146818_get_time(&curr_time, 10) < 0)) {
                        pr_err_ratelimited("unable to read current time from RTC\n");
                        return IRQ_HANDLED;
                }