diff options
author | Thomas Mingarelli <Thomas.Mingarelli@hp.com> | 2010-03-17 15:33:31 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-04-06 14:37:43 (GMT) |
commit | 8ba42bd88c6982fe224b09c33151c797b0fdf1a5 (patch) | |
tree | e040fc1b21aab6ae1fa582a33cde62a18edfef49 /drivers/watchdog/hpwdt.c | |
parent | 4c7d849204341dea19be941a3c1eb4bdffac9cc4 (diff) | |
download | linux-8ba42bd88c6982fe224b09c33151c797b0fdf1a5.tar.xz |
[WATCHDOG] hpwdt - fix lower timeout limit
[Novell Bug 581103] HP Watchdog driver has arbitrary (wrong) timeout limits.
Fix the lower timeout limit to a more appropriate value.
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@kernel.org>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
-rw-r--r-- | drivers/watchdog/hpwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 70c2c24..af48075 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -443,7 +443,7 @@ static void hpwdt_ping(void) static int hpwdt_change_timer(int new_margin) { /* Arbitrary, can't find the card's limits */ - if (new_margin < 30 || new_margin > 600) { + if (new_margin < 5 || new_margin > 600) { printk(KERN_WARNING "hpwdt: New value passed in is invalid: %d seconds.\n", new_margin); |