Merge tag 'asoc-fix-4.17-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / rtc / rtc-jz4740.c
index ff65a7d..d0a8917 100644 (file)
@@ -173,7 +173,7 @@ static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time)
 
        rtc_time_to_tm(secs, time);
 
-       return rtc_valid_tm(time);
+       return 0;
 }
 
 static int jz4740_rtc_set_mmss(struct device *dev, unsigned long secs)