Linux Watchdog driver development
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: "Кочетков Максим" <fido_max@inbox.ru>
Cc: linux-watchdog@vger.kernel.org
Subject: Re: [PATCH] watchdog: orion_wdt: add wdt status init for handle_boot_enabled
Date: Tue, 29 May 2018 09:10:12 -0700	[thread overview]
Message-ID: <20180529161012.GA2162@roeck-us.net> (raw)
In-Reply-To: <1527596458.557657346@f479.i.mail.ru>

On Tue, May 29, 2018 at 03:20:58PM +0300, Кочетков Максим wrote:
> 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);N?????r??y????b?X??ǧv?^?)޺{.n?+????{???\?? ?{ay?\x1dʇڙ?,j\a??f???h???z?\x1e?w???\f???j:+v???w?j?m????\a????zZ+?????ݢj"??!

Corrupted patch.

Guenter

  reply	other threads:[~2018-05-29 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-29 12:20 [PATCH] watchdog: orion_wdt: add wdt status init for handle_boot_enabled Кочетков Максим
2018-05-29 16:10 ` Guenter Roeck [this message]
  -- 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=20180529161012.GA2162@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=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