Re: [PATCH v2 2/2] watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux