aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/watchdog/orion_wdt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
index 4074244c7183..4ea5fcccac02 100644
--- a/drivers/watchdog/orion_wdt.c
+++ b/drivers/watchdog/orion_wdt.c
@@ -70,9 +70,7 @@ static int orion_wdt_start(struct watchdog_device *wdt_dev)
70 writel(wdt_tclk * wdt_dev->timeout, wdt_reg + WDT_VAL); 70 writel(wdt_tclk * wdt_dev->timeout, wdt_reg + WDT_VAL);
71 71
72 /* Clear watchdog timer interrupt */ 72 /* Clear watchdog timer interrupt */
73 reg = readl(BRIDGE_CAUSE); 73 writel(~WDT_INT_REQ, BRIDGE_CAUSE);
74 reg &= ~WDT_INT_REQ;
75 writel(reg, BRIDGE_CAUSE);
76 74
77 /* Enable watchdog timer */ 75 /* Enable watchdog timer */
78 reg = readl(wdt_reg + TIMER_CTRL); 76 reg = readl(wdt_reg + TIMER_CTRL);