If we settime between 1970 and 2000.
for example:
$ date 052915571978
$ hwclock -w
it will be wrong, this patch fix it.
Signed-off-by: Linkui
---
drivers/rtc/rtc-ds1307.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc
From: Linkui Xiao
If we settime between 1970 and 2000.
for example:
root# date 052915571978
root# hwclock -w
It will be wrong, this patch fix the bug.
Signed-off-by: Linkui Xiao
---
drivers/rtc/rtc-ds1307.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a
2 matches
Mail list logo