summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-fsl-ftm-alarm.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2022-03-09 19:22:35 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-03-23 21:58:38 +0300
commit9597f8cc80b2044b02579961cffc6cd0d0d2f099 (patch)
tree23f5b0829fb53b2afee2bd499f2f91cff1aba4d3 /drivers/rtc/rtc-fsl-ftm-alarm.c
parent000bf045c69b40f5fd9aac61414cbb44f322e7c0 (diff)
downloadlinux-9597f8cc80b2044b02579961cffc6cd0d0d2f099.tar.xz
rtc: mpc5121: let the core handle the alarm resolution
Set RTC_FEATURE_ALARM_RES_MINUTE, so the core knows alarms have a resolution of a minute. Also, the core will properly round down the alarm instead of up. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220309162301.61679-4-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-fsl-ftm-alarm.c')
0 files changed, 0 insertions, 0 deletions