summaryrefslogtreecommitdiffstats
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-11-07 20:46:02 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-12-09 15:03:27 +0100
commite990e12741877e9bfac402ca468f4007a75f6e2a (patch)
tree737d8f52e9398f98030fefc24523583a7f01381a /kernel/task_work.c
parent7db706a2184d37ca52a4f5315556ed4adac86e82 (diff)
downloadlinux-e990e12741877e9bfac402ca468f4007a75f6e2a.tar.bz2
watchdog: renesas_wdt: don't set divider while watchdog is running
The datasheet says we must stop the timer before changing the clock divider. This can happen when the restart handler is called while the watchdog is running. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> 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 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions