linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] watchdog: Add support for the Freescale MXC watchdog
Date: Sat, 20 Mar 2010 14:06:25 +0000	[thread overview]
Message-ID: <20100320140625.GA30391@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1269011607-23077-1-git-send-email-vzapolskiy@gmail.com>

On Fri, Mar 19, 2010 at 06:13:27PM +0300, Vladimir Zapolskiy wrote:
> +/* The watchdog found on MXC chips cannot be disabled. */
> +static int mxc_wdt_release(struct inode *inode, struct file *file)
> +{
> +        struct mxc_wdt *wdt = file->private_data;
> +
> +        /* disable the watchdog timer unless NOWAYOUT is defined. */
> +#ifndef CONFIG_WATCHDOG_NOWAYOUT
> +        mxc_wdt_disable(wdt);
> +#else
> +        printk(KERN_CRIT "MXC watchdog: unexpected close, timer will not stop\n");
> +#endif
> +        clear_bit(0, &wdt->status);
> +
> +        clk_disable(wdt->clk);

You're sure that disabling the watchdog clock won't disable the watchdog
itself?

  parent reply	other threads:[~2010-03-20 14:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 15:13 [PATCH 1/3] watchdog: Add support for the Freescale MXC watchdog Vladimir Zapolskiy
2010-03-19 15:16 ` [PATCH 2/3] imx3: Add watchdog platform device support Vladimir Zapolskiy
2010-03-22  8:42   ` Sascha Hauer
2010-03-19 15:16 ` [PATCH 3/3] imx31: add watchdog device on litekit board Vladimir Zapolskiy
2010-03-22  8:43   ` Sascha Hauer
2010-03-20 12:09 ` [PATCH 1/3] watchdog: Add support for the Freescale MXC watchdog Wolfram Sang
2010-03-20 18:40   ` Vladimir Zapolskiy
2010-03-21 10:36     ` Wolfram Sang
2010-03-21 18:27       ` Vladimir Zapolskiy
2010-03-20 14:06 ` Russell King - ARM Linux [this message]
2010-03-20 17:58   ` Vladimir Zapolskiy

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=20100320140625.GA30391@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).