]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: mxc: set range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2019 08:30:44 +0000 (10:30 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 29 Apr 2019 13:53:42 +0000 (15:53 +0200)
commitc910e51475ddc60660e7fe28477860648191699a
treeb87ed65e3bde7aaff244ab4835e9e59152224d3c
parent085c3a775640309b08dc68671a29c23b714f37d2
rtc: mxc: set range

Let the core handle the range, and in particular the imx1 offsetting. This
has the benefit of extending the range of the RTC further than 365 days and
making .read_time useful again on imx1.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mxc.c