Axel Lin 8a062ac693 watchdog: wafer5823wdt: Fix handling WDIOS_DISABLECARD/WDIOS_ENABLECARD options
While receiving WDIOS_DISABLECARD option for WDIOC_SETOPTIONS command,
call wafwdt_stop() to disable watchdog.
Call wafwdt_start() while receiving WDIOS_ENABLECARD option.

Current code has reverse behavior.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2012-01-27 09:55:13 +01:00
..
2011-03-31 11:26:23 -03:00
2011-06-28 07:43:00 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2012-01-06 15:33:41 +01:00
2011-03-15 16:02:27 +00:00
2012-01-06 15:33:41 +01:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2011-11-05 21:16:15 +01:00
2011-07-26 16:49:47 -07:00
2011-03-15 16:02:27 +00:00
2009-09-18 08:39:37 +00:00
2011-09-27 18:08:04 +02:00
2012-01-02 13:04:55 +01:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:27 +00:00
2011-11-05 21:16:15 +01:00
2011-11-05 21:16:15 +01:00
2011-03-15 16:02:18 +00:00