]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
watchdog: cadence: Do not stop wdt in probe
authorMichal Simek <michal.simek@xilinx.com>
Tue, 17 Jul 2018 11:17:39 +0000 (13:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Jul 2018 08:49:56 +0000 (10:49 +0200)
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

index 71575cb300f479b2380b3260261c59f2782d4393..fc85fbcec2529c5fc88bc24938a2692c3f844162 100644 (file)
@@ -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;
 }