rtc: mxc_v2: let the core handle rtc range
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 May 2018 08:04:46 +0000 (10:04 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 19 May 2018 08:47:46 +0000 (10:47 +0200)
commit95fbfa14b431d4d7213b8e0e167563f7a11dd5e7
treec7dfe1645220153b096c0a42cb625828674e26fa
parent5490a1e018a4b447c1fdb49ec274a620e60a4d42
rtc: mxc_v2: let the core handle rtc range

This RTC is a 32-bit second counter.

This also solves an issue where mxc_rtc_set_alarm() can return with the
lock taken.

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