summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-fsl-ftm-alarm.c
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2019-10-21 10:08:38 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-21 10:24:18 +0200
commit62409933b8d5afc9f09878608f3a38cf1b5467c2 (patch)
tree1ed6392a0a586e92a3b2d6ec082dacf75e6e4ed8 /drivers/rtc/rtc-fsl-ftm-alarm.c
parentf583c341a515fcb5305520053d2ae51f89f67f59 (diff)
rtc: pcf2127: handle boot-enabled watchdog feature
Linux should handle when the pcf2127 watchdog feature is enabled by the bootloader. This is done by checking the watchdog timer value during init, and set the WDOG_HW_RUNNING flag if the value differs from zero. Signed-off-by: Martin Hundebøll <martin@geanix.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191021080838.2789-1-martin@geanix.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-fsl-ftm-alarm.c')
0 files changed, 0 insertions, 0 deletions