Re: [PATCH v5 1/4] watchdog: at91sam9_wdt: better watchdog support

2013-10-04 Thread Guenter Roeck
On Fri, Oct 04, 2013 at 09:24:12AM +0200, Boris BREZILLON wrote: > The at91sam9 watchdog timer can only be configured once, and the current > implementation tries to configure it in a static way: > - 2 seconds timeout > - wdt restart every 500ms > > If the timer has already been configured with di

[PATCH v5 1/4] watchdog: at91sam9_wdt: better watchdog support

2013-10-04 Thread Boris BREZILLON
The at91sam9 watchdog timer can only be configured once, and the current implementation tries to configure it in a static way: - 2 seconds timeout - wdt restart every 500ms If the timer has already been configured with different values, it returns an error and do not create any watchdog device. T