summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds3232.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-06-09 09:43:13 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-11 21:42:08 +0300
commitdff700fa81938d8947c86b7909920e5e5f772afc (patch)
tree0e6f1e2d5cc6d09091a43a0f5157a401adbb119a /drivers/rtc/rtc-ds3232.c
parentd6c3029f32f72db7ba7b4183b0423cce2267ca3d (diff)
downloadlinux-dff700fa81938d8947c86b7909920e5e5f772afc.tar.xz
rtc: stmp3xxx: Don't reset the rtc in .probe() when watchdog is running
As pointed out in the added comment resetting the rtc also stops the included watchdog. This is bad if the bootloader started the watchdog to secure the boot process. So don't reset if the watchdog is running. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ds3232.c')
0 files changed, 0 insertions, 0 deletions