All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] watchdog: cadence: Do not stop wdt in probe
@ 2018-07-17 12:41 Michal Simek
  0 siblings, 0 replies; only message in thread
From: Michal Simek @ 2018-07-17 12:41 UTC (permalink / raw)
  To: u-boot

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(-)

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;
 }
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-17 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-17 12:41 [U-Boot] [PATCH] watchdog: cadence: Do not stop wdt in probe Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.