diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2012-02-29 14:20:58 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 14:08:09 -0400 |
commit | 0197c1c49ef1ff386b2ebb6d3b0fc85a8e174b5c (patch) | |
tree | 266ad74d44c332e27eac61070f7287051035136f /drivers/watchdog/pnx4008_wdt.c | |
parent | b10f7c12e051762b84457f6d38d4b71acbf76a02 (diff) |
watchdog: fix set_timeout operations
Since we changed the behaviour of the set_timeout operation in the
watchdog API, we need to change the allready converted drivers so
that they update the timeout field at the end of the set_timeout
operation.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/pnx4008_wdt.c')
-rw-r--r-- | drivers/watchdog/pnx4008_wdt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index 3d9bb89776a7..6b8432f61d05 100644 --- a/drivers/watchdog/pnx4008_wdt.c +++ b/drivers/watchdog/pnx4008_wdt.c | |||
@@ -121,6 +121,7 @@ static int pnx4008_wdt_stop(struct watchdog_device *wdd) | |||
121 | static int pnx4008_wdt_set_timeout(struct watchdog_device *wdd, | 121 | static int pnx4008_wdt_set_timeout(struct watchdog_device *wdd, |
122 | unsigned int new_timeout) | 122 | unsigned int new_timeout) |
123 | { | 123 | { |
124 | wdd->timeout = new_timeout; | ||
124 | return 0; | 125 | return 0; |
125 | } | 126 | } |
126 | 127 | ||