From: "Кочетков Максим" <fido_max@inbox.ru>
To: linux-watchdog@vger.kernel.org
Subject: [PATCH] watchdog: orion_wdt: add wdt status init for handle_boot_enabled
Date: Tue, 29 May 2018 15:20:58 +0300 [thread overview]
Message-ID: <1527596458.557657346@f479.i.mail.ru> (raw)
This patch add init of wdt.status for CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
--- a/drivers/watchdog/orion_wdt.c.orig 2018-04-19 09:54:12.000000000 +0300
+++ b/drivers/watchdog/orion_wdt.c 2018-05-29 15:00:29.560000000 +0300
@@ -581,6 +581,8 @@ static int orion_wdt_probe(struct platfo
*/
if (!orion_wdt_enabled(&dev->wdt))
orion_wdt_stop(&dev->wdt);
+ else
+ set_bit(WDOG_HW_RUNNING, &dev->wdt.status);
/* Request the IRQ only after the watchdog is disabled */
irq = platform_get_irq(pdev, 0);
next reply other threads:[~2018-05-29 13:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-29 12:20 Кочетков Максим [this message]
2018-05-29 16:10 ` [PATCH] watchdog: orion_wdt: add wdt status init for handle_boot_enabled Guenter Roeck
-- strict thread matches above, loose matches on Subject: below --
2018-05-30 4:59 Maxim Kochetkov
2018-06-01 16:24 ` Guenter Roeck
2018-06-07 13:54 Maxim Kochetkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1527596458.557657346@f479.i.mail.ru \
--to=fido_max@inbox.ru \
--cc=linux-watchdog@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox