diff options
-rw-r--r-- | drivers/rtc/rtc-sh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index e0f91dfce0f5..93ee05eeaeba 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c | |||
@@ -365,6 +365,7 @@ static int sh_rtc_set_time(struct device *dev, struct rtc_time *tm) | |||
365 | /* Reset pre-scaler & stop RTC */ | 365 | /* Reset pre-scaler & stop RTC */ |
366 | tmp = readb(rtc->regbase + RCR2); | 366 | tmp = readb(rtc->regbase + RCR2); |
367 | tmp |= RCR2_RESET; | 367 | tmp |= RCR2_RESET; |
368 | tmp &= ~RCR2_START; | ||
368 | writeb(tmp, rtc->regbase + RCR2); | 369 | writeb(tmp, rtc->regbase + RCR2); |
369 | 370 | ||
370 | writeb(BIN2BCD(tm->tm_sec), rtc->regbase + RSECCNT); | 371 | writeb(BIN2BCD(tm->tm_sec), rtc->regbase + RSECCNT); |