]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtc: mv: let the core handle invalid alarms
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 1 Oct 2018 22:05:25 +0000 (00:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 3 Oct 2018 09:07:24 +0000 (11:07 +0200)
commit959e8b77bf9232a1956e03325837047b110553b2
tree0446ecc9d99456d6d5f6b80a9a9b580dbc6382a2
parent89e27ce49846a7dedbcaefccbb6cc885c5baae14
rtc: mv: let the core handle invalid alarms

Instead of lying to the core when the alarm is invalid, let it handle that
by returning the error.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com> (on Armada 375 DB)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mv.c