]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf8523: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Nov 2020 00:27:46 +0000 (01:27 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 Nov 2020 11:52:25 +0000 (12:52 +0100)
commitcf73b37bfe25a76caff812a97cca43176954df30
tree8c711ed854e5dbc0b297a88f5af278de42573d71
parent5db0dba2ba5774a00a4e645d00b83f114ab6f182
rtc: pcf8523: set range

Set the th RTC range, it is a classic BCD RTC, considering 00 as a leap
year. Let the core handle range checking.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201118002747.1346504-2-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf8523.c