Searched hist:"015 b528644a84b0018d3286ecd6ea5f82dce0180" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/watchdog/ |
H A D | sama5d4_wdt.c | diff 015b528644a84b0018d3286ecd6ea5f82dce0180 Thu Mar 02 18:31:11 CET 2017 Alexandre Belloni <alexandre.belloni@free-electrons.com> 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>
|