summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorGabriele Mazzotta <gabriele.mzt@gmail.com>2016-10-04 00:50:28 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-10-19 09:41:43 +0200
commit6a6af3d04435adfdaab363624ec569a9b5d3973c (patch)
treec354c40eb8ec34e6f2b1d0983839258be769eddb /drivers/rtc/Kconfig
parent1001354ca34179f3db924eb66672442a173147dc (diff)
rtc: cmos: Reject unsupported alarm values
Some platforms allows to specify the month and day of the month in which an alarm should go off, some others the day of the month and some others just the time. Currently any given value is accepted by the driver and only the supported fields are used to program the hardware. As consequence, alarms are potentially programmed to go off in the wrong moment. Fix this by rejecting any unsupported value. Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
0 files changed, 0 insertions, 0 deletions