diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-09-12 11:56:59 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 20:07:43 +0200 |
commit | b10f7c12e051762b84457f6d38d4b71acbf76a02 (patch) | |
tree | af001c289eb989fab0198989e4ecdf89d5549a26 /drivers/watchdog/via_wdt.c | |
parent | watchdog: softdog: convert to watchdog core (diff) | |
download | linux-b10f7c12e051762b84457f6d38d4b71acbf76a02.tar.xz linux-b10f7c12e051762b84457f6d38d4b71acbf76a02.zip |
watchdog: watchdog_dev: Let the driver update the timeout field on set_timeout success
When a set_timeout operation succeeds this does not necessarily mean that
the exact timeout requested has been achieved, because the watchdog does not
necessarily have a 1 second resolution. So rather then have the core set
the timeout member of the watchdog_device struct to the exact requested
value, instead the driver should set it to the actually achieved timeout value.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/via_wdt.c')
0 files changed, 0 insertions, 0 deletions