]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/rtc/rtc-m48t86.c
swiotlb: Return consistent SWIOTLB segments/nr_tbl
[linux.git] / drivers / rtc / rtc-m48t86.c
index 8d17be1e6650b9e086d7acd3a6fee5d79869877f..a9533535c3b7d0d97140f30863147e97bb55cde0 100644 (file)
@@ -100,7 +100,7 @@ static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm)
                if (m48t86_readb(dev, M48T86_HOUR) & 0x80)
                        tm->tm_hour += 12;
 
-       return rtc_valid_tm(tm);
+       return 0;
 }
 
 static int m48t86_rtc_set_time(struct device *dev, struct rtc_time *tm)