]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] SA1100 watchdog maximum timeout
authorRaphael Assenat <raph@8d.com>
Mon, 29 Jun 2009 17:56:52 +0000 (13:56 -0400)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 9 Jul 2009 18:29:38 +0000 (18:29 +0000)
commit99181a95f007d98cf56c3b67a80f42bb6cf61979
tree28c758c809f680033cfd828ec09e944b70b4938d
parentf88ff7c722c972d18d15dc87a0796161393e9230
[WATCHDOG] SA1100 watchdog maximum timeout

This patch replaces the hardcoded 255 seconds limit for a real limit based on
oscr_freq.

Also, the 'firmware_version' field is changed to '1' to allow the user
space application to easily detect that this driver supports a higher
maximum timeout.

Signed-off-by: Raphael Assenat <raph@8D.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sa1100_wdt.c