mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
rtc: mrst: remove artificial limitation
The hardware supports years up to 100 so don't limit the year to 2038 artificially. Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
844cba65bf
commit
f441f98f58
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ static int mrst_set_time(struct device *dev, struct rtc_time *time)
|
|||
min = time->tm_min;
|
||||
sec = time->tm_sec;
|
||||
|
||||
if (yrs < 72 || yrs > 138)
|
||||
if (yrs < 72 || yrs > 172)
|
||||
return -EINVAL;
|
||||
yrs -= 72;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue