]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: at91rm9200: avoid time readout in at91_rtc_setalarm
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 29 Dec 2019 20:44:17 +0000 (21:44 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 15 Jan 2020 14:11:08 +0000 (15:11 +0100)
commit35875b49b857bd20ad2051bf42f8adac41410bf0
tree7b087a0d9ee6d97253cc25e01808f03e74098f60
parentc7f38b30f662bf096393c0e426710639c5c619e8
rtc: at91rm9200: avoid time readout in at91_rtc_setalarm

The current rtc time is read out in at91_rtc_setalarm but it it immediately
overwritten by the alarm time. Remove the readout.

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