[PATCH] watchdog: imx2_wdt: also set wdog->timeout to new_timeout

Guenter Roeck linux at roeck-us.net
Wed May 6 06:40:48 PDT 2015

On 05/06/2015 04:17 AM, Michael Grzeschik wrote:
> Commit faad5de0b104 ("watchdog: imx2_wdt: convert to watchdog core api")
> removes the custom ioctl function. The generic ioctl handler is not
> setting the wdog->timeout to the new_timeout but handing this preset
> value back to the userspace. This patch sets the new value in the
> drivers set_timeout function to fix that problem.
> Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>

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

More information about the linux-arm-kernel mailing list