diff options
author | David Engraf <david.engraf@sysgo.com> | 2011-07-20 15:03:39 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-08-02 08:22:49 +0000 |
commit | bea1906620ce72b63f83735c4cc2642b25ec54ae (patch) | |
tree | e96e96e0068ea332a4bb8dd3334f4de8c3d2e7f8 /drivers/watchdog/sp5100_tco.c | |
parent | c027a474a68065391c8773f6e83ed5412657e369 (diff) |
watchdog: shwdt: fix usage of mod_timer
Fix the usage of mod_timer() and make the driver usable. mod_timer() must
be called with an absolute timeout in jiffies. The old implementation
used a relative timeout thus the hardware watchdog was never triggered.
Signed-off-by: David Engraf <david.engraf@sysgo.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Wim Van sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: stable <stable@kernel.org>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions