Re: [PATCH 2/2] watchdog: da9063: Disable and wait before changing timeout

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

 



Am Freitag, den 07.08.2015, 06:40 -0700 schrieb Guenter Roeck:
> On 08/06/2015 09:36 AM, Philipp Zabel wrote:
> > The DA9063 watchdog occasionally enters error condition and resets the
> > system if the timeout is changed quickly after the timer was enabled.
> >
> > The method of disabling and waiting for > 150 µs before setting the
> > new timeout is taken from the DA9052 driver.
> >
> Using sleep concerns me a bit, since during that time the watchdog
> is disabled. Bad enough that we have to do this to start with,
> but using usleep adds more risk to an already bad situation.
> 
> How about udelay() instead ?

Ok, I'll change it.

regards
Philipp


--
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