aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Marco Felsch <m.felsch@pengutronix.de> 2018-05-28 08:45:44 +0200
committerGravatar Wim Van Sebroeck <wim@linux-watchdog.org> 2018-06-06 10:45:31 +0200
commite46bb55dbc94b06f5ee466e2f50723b56781e661 (patch)
tree656f5bed6aab020dd8d03778d74a3f04f689078c /.gitignore
parentdt-bindings: watchdog: renesas-wdt: Add R-Car Gen2 support (diff)
downloadlinux-e46bb55dbc94b06f5ee466e2f50723b56781e661.tar.gz
linux-e46bb55dbc94b06f5ee466e2f50723b56781e661.tar.bz2
linux-e46bb55dbc94b06f5ee466e2f50723b56781e661.zip
watchdog: da9063: Fix setting/changing timeout
If the timeout value is set more than once the DA9063 watchdog triggers a reset signal which reset the system. To update the timeout value we have to disable the watchdog, clear the watchdog counter value and write the new timeout value to the watchdog. Clearing the counter value is a feature to be on the safe side because the data sheet doesn't describe the behaviour of the watchdog counter value after a watchdog disabling-enable-sequence. The patch is based on Philipp Zabel's previous patch. Fixes: 5e9c16e37608 ("watchdog: Add DA9063 PMIC watchdog driver.") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions