From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hbJ93-00014D-Ul for barebox@lists.infradead.org; Thu, 13 Jun 2019 06:23:35 +0000 Date: Thu, 13 Jun 2019 08:23:32 +0200 From: Sascha Hauer Message-ID: <20190613062332.2fangmtixkh6bbss@pengutronix.de> References: <20190611094319.9143-1-a.fatoum@pengutronix.de> <20190611094319.9143-4-a.fatoum@pengutronix.de> <980fbe0c-1660-1dd8-3255-79452d2f29e4@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <980fbe0c-1660-1dd8-3255-79452d2f29e4@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v2 3/6] watchdog: add stm32 watchdog and reset driver To: Ahmad Fatoum Cc: barebox@lists.infradead.org On Tue, Jun 11, 2019 at 03:18:41PM +0200, Ahmad Fatoum wrote: > On 11/6/19 11:43, Ahmad Fatoum wrote: > > > + ret = stm32_iwdg_set_timeout(wdd, wdd->timeout_max); > > + if (ret) { > > + dev_err(dev, "Failed to set initial watchdog timeout\n"); > > + return ret; > > + } > > Thinking about it some more after Ladislav's comment, I probably should > only do this if the watchdog is already active. Applied all except this one and 4/6. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox