From: linux@roeck-us.net (Guenter Roeck)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC
Date: Thu, 26 Mar 2015 22:48:21 -0700 [thread overview]
Message-ID: <5514EF25.4000400@roeck-us.net> (raw)
In-Reply-To: <CAM=Q2ctS6_=pzW2H+Yd3nEBgF269vfdh8yV3NbnWFP7b-MWLbA@mail.gmail.com>
On 03/26/2015 10:40 PM, Shubhrajyoti Datta wrote:
>
> +
> +static int dc_restart_handler(struct notifier_block *this, unsigned long mode,
> + void *cmd)
> +{
> + struct dc_wdt *wdt = container_of(this, struct dc_wdt, restart_handler);
> +
> + dc_wdt_set(wdt, 1);
> + /* wait for reset to assert... */
> + mdelay(500);
>
>
> How is the 500 calculated ?
> Also is it possible to sleep here?
>
sleep: No. It would also be pretty pointless, since this is after all the very last step
of rebooting the system.
Guenter
prev parent reply other threads:[~2015-03-27 5:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 7:59 [PATCH v2 1/2] watchdog: digicolor: document device tree binding Baruch Siach
2015-03-26 7:59 ` [PATCH v2 2/2] watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC Baruch Siach
2015-03-27 5:20 ` Guenter Roeck
[not found] ` <CAM=Q2ctS6_=pzW2H+Yd3nEBgF269vfdh8yV3NbnWFP7b-MWLbA@mail.gmail.com>
2015-03-27 5:48 ` Guenter Roeck [this message]
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=5514EF25.4000400@roeck-us.net \
--to=linux@roeck-us.net \
--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