]> git.baikalelectronics.ru Git - 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)
commit19164e6dc75fce07eba3f45d3c1e87a59e6395c6
tree0446ecc9d99456d6d5f6b80a9a9b580dbc6382a2
parentec56bb6ff962eac2e0f82fb165e40a725336b0fa
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