Commit 4136ff3a authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: ds1374: set range

The ds1374 is a 32bit seconds counter.

Link: https://lore.kernel.org/r/20200306073404.56921-2-alexandre.belloni@bootlin.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent c11af813
...@@ -646,6 +646,7 @@ static int ds1374_probe(struct i2c_client *client, ...@@ -646,6 +646,7 @@ static int ds1374_probe(struct i2c_client *client,
} }
ds1374->rtc->ops = &ds1374_rtc_ops; ds1374->rtc->ops = &ds1374_rtc_ops;
ds1374->rtc->range_max = U32_MAX;
ret = rtc_register_device(ds1374->rtc); ret = rtc_register_device(ds1374->rtc);
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment