Browse Source

watchdog: cadence: Do not stop wdt in probe

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>
Michal Simek 6 năm trước cách đây
mục cha
commit
0bd83060c2
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      drivers/watchdog/cdns_wdt.c

+ 0 - 2
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;
 }