[PATCH] watchdog: sp805: Set watchdog_device->timeout from ->set_timeout()

Guenter Roeck linux at roeck-us.net
Wed May 14 21:44:38 PDT 2014


On 05/14/2014 09:31 PM, Viresh Kumar wrote:
> Implementation of ->set_timeout() is supposed to set 'timeout' field of 'struct
> watchdog_device' passed to it. sp805 was rather setting this in a local
> variable. Fix it.
>
> Cc: <stable at vger.kernel.org> # 2.6.36+
> Reported-by: Arun Ramamurthy <arun.ramamurthy at broadcom.com>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>




More information about the linux-arm-kernel mailing list