Re: [PATCH 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-09 Thread Guenter Roeck
On Fri, Feb 09, 2018 at 08:27:18PM +0100, Marcus Folkesson wrote: > watchdog_init_timeout() will allways pick timeout_param since it > defaults to a valid timeout. > > Following best practice described in > Documentation/watchdog/watchdog-kernel-api.txt to make use of > the parameter logic. > >

Re: [PATCH 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-09 Thread Guenter Roeck
On Fri, Feb 09, 2018 at 08:27:18PM +0100, Marcus Folkesson wrote: > watchdog_init_timeout() will allways pick timeout_param since it > defaults to a valid timeout. > > Following best practice described in > Documentation/watchdog/watchdog-kernel-api.txt to make use of > the parameter logic. > >

Re: [PATCH 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-09 Thread Marcus Folkesson
The summary email did not make it for some reason. However. All these drivers is using watchdog_init_timeout() to set timeout. If the timeout-parameter is set to an valid value, it will allways pick that and not even consider if timeout-secs is set in devicetree. Most of the patches will just

Re: [PATCH 1/7] watchdog: sama5d4: make use of timeout-secs provided in devicetree

2018-02-09 Thread Marcus Folkesson
The summary email did not make it for some reason. However. All these drivers is using watchdog_init_timeout() to set timeout. If the timeout-parameter is set to an valid value, it will allways pick that and not even consider if timeout-secs is set in devicetree. Most of the patches will just