On 16.03.20 16:39, Rasmus Villemoes wrote:
On 14/03/2020 12.57, Stefan Roese wrote:
On 13.03.20 17:04, Rasmus Villemoes wrote:
   int initr_watchdog(void)
   {
       u32 timeout = WATCHDOG_TIMEOUT_SECS;
@@ -36,6 +42,8 @@ int initr_watchdog(void)
       if (CONFIG_IS_ENABLED(OF_CONTROL)) {
           timeout = dev_read_u32_default(gd->watchdog_dev, "timeout-sec",
                              WATCHDOG_TIMEOUT_SECS);
+        reset_period = dev_read_u32_default(gd->watchdog_dev,
"hw_margin_ms",
+                            4*reset_period)/4;

Nitpicking: checkpatch will most likely complain about missing spaces
here.

Right. Want me to resend, or can you fix if/when applying?

If there will be no other changes requiring a v2, then I can fix this
while applying.

Thanks,
Stefan

Reply via email to