Message ID | 137b36e0f0c9c1ef78d8a0f93f550658d12e130e.1531831311.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 0bd83060c2b01331f1b989433bc400b5bf002f9f |
Delegated to: | Michal Simek |
Headers | show |
Series | [U-Boot] watchdog: cadence: Do not stop wdt in probe | expand |
diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index 71575cb300f4..fc85fbcec252 100644 --- a/drivers/watchdog/cdns_wdt.c +++ b/drivers/watchdog/cdns_wdt.c @@ -224,8 +224,6 @@ static int cdns_wdt_probe(struct udevice *dev) { debug("%s: Probing wdt%u\n", __func__, dev->seq); - cdns_wdt_stop(dev); - return 0; }
Watchdog can be started before probe and u-boot should just take control over it. That's why do not stop watchdog in probe to cover cases where watchdog can expire before probe and start. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- drivers/watchdog/cdns_wdt.c | 2 -- 1 file changed, 2 deletions(-)