aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/ib700wdt.c
diff options
context:
space:
mode:
authorChris Friesen <cfriesen@nortel.com>2009-08-12 12:02:46 -0600
committerWim Van Sebroeck <wim@iguana.be>2009-09-18 08:37:21 +0000
commitdcfb748422d01245b6e89c94d85fcdb3c71a56a0 (patch)
tree19c99c7c3ec245de6610cf1e0e6f8cf9023a5e98 /drivers/watchdog/ib700wdt.c
parent[WATCHDOG] davinci: use clock framework for timer frequency (diff)
downloadlinux-dev-dcfb748422d01245b6e89c94d85fcdb3c71a56a0.tar.xz
linux-dev-dcfb748422d01245b6e89c94d85fcdb3c71a56a0.zip
[WATCHDOG] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds
The WDIOC_SETTIMEOUT argument is supposed to be a "seconds" value. However, the book E wdt currently treats it as a "period" which is interpreted in a board-specific way. This patch allows the user to pass in a "seconds" value and the driver will set the smallest timeout that is at least as large as specified by the user. It's been tested on e500 hardware and works as expected. The patch only modifies the CONFIG_FSL_BOOKE case, the CONFIG_4xx case is left unmodified as I don't have any hardware to test it on. Signed-off-by: Chris Friesen <cfriesen@nortel.com> Cc: Kumar Gala <galak@gate.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/ib700wdt.c')
0 files changed, 0 insertions, 0 deletions