[brcm63xx] fix off-by-one maximum timeout in the wathchdog default counter for bcm634...
[openwrt.git] / target / linux / brcm63xx / files / drivers / watchdog / bcm63xx_wdt.c
index 5e7689c..8d58ccd 100644 (file)
@@ -57,7 +57,7 @@ MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
 /* HW functions */
 static void bcm63xx_wdt_hw_start(void)
 {
-       bcm_writel(0xffffffff, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG);
+       bcm_writel(0xfffffffe, bcm63xx_wdt_device.regs + WDT_DEFVAL_REG);
        bcm_writel(WDT_START_1, bcm63xx_wdt_device.regs + WDT_CTL_REG);
        bcm_writel(WDT_START_2, bcm63xx_wdt_device.regs + WDT_CTL_REG);
 }
This page took 0.022475 seconds and 4 git commands to generate.