From: Michael Grzeschik Date: Wed, 6 May 2015 11:17:59 +0000 (+0200) Subject: watchdog: imx2_wdt: also set wdog->timeout to new_timeout X-Git-Tag: omap-for-v4.2/fixes-rc1^2~49^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30dd4a8f08b570b5ed978fd937fdb5c31194be41;p=pandora-kernel.git watchdog: imx2_wdt: also set wdog->timeout to new_timeout 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 Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed