summaryrefslogtreecommitdiff
path: root/drivers/watchdog/watchdog_core.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-03-02 18:31:11 +0100
committerWim Van Sebroeck <wim@iguana.be>2017-05-18 18:51:21 +0200
commit015b528644a84b0018d3286ecd6ea5f82dce0180 (patch)
treea504da6ef8df476c70af11340ec94631421dc8c1 /drivers/watchdog/watchdog_core.h
parentd8f1deaa5256aba3296025e103e8abb96f3e6479 (diff)
watchdog: sama5d4: fix WDDIS handling
The datasheet states: "When setting the WDDIS bit, and while it is set, the fields WDV and WDD must not be modified." Because the whole configuration is already cached inside .mr, wait for the user to enable the watchdog to configure it so it is enabled and configured at the same time (what the IP is actually expecting). When the watchdog is already enabled, it is not an issue to reconfigure it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Wenyou.Yang <wenyou.yang@microchip.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/watchdog_core.h')
0 files changed, 0 insertions, 0 deletions