Linux Watchdog driver development
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Maxim Kochetkov <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: Fri, 1 Jun 2018 09:24:13 -0700	[thread overview]
Message-ID: <20180601162413.GA4946@roeck-us.net> (raw)
In-Reply-To: <0334679d-12c5-00ba-e896-abbf5b6eaa01@inbox.ru>

On Wed, May 30, 2018 at 07:59:12AM +0300, Maxim Kochetkov wrote:
> This patch add init of wdt.status for CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED
> 
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
> --- 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);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2018-06-01 16:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-30  4:59 [PATCH] watchdog: orion_wdt: add wdt status init for handle_boot_enabled Maxim Kochetkov
2018-06-01 16:24 ` Guenter Roeck [this message]
2018-06-04  1:38 ` Guenter Roeck
2018-06-05  4:29   ` Maxim Kochetkov
2018-06-05 10:58     ` Guenter Roeck
2018-06-05 13:21       ` Maxim Kochetkov
  -- strict thread matches above, loose matches on Subject: below --
2018-06-07 13:54 [PATCH] " Maxim Kochetkov
2018-05-29 12:20 Кочетков Максим
2018-05-29 16:10 ` Guenter Roeck

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=20180601162413.GA4946@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