summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/pcwd.c
diff options
context:
space:
mode:
authorDmitry Artamonow2012-01-26 20:24:30 +0100
committerWim Van Sebroeck2012-02-29 09:46:13 +0100
commit741b9c7da1abf2f96f69d232fbeef5aff1371be3 (patch)
tree935b65a517d1d7ea918fd9fc0ce0162f1f067eff /drivers/watchdog/pcwd.c
parentwatchdog: update maintainers git entry (diff)
downloadkernel-qcow2-linux-741b9c7da1abf2f96f69d232fbeef5aff1371be3.tar.gz
kernel-qcow2-linux-741b9c7da1abf2f96f69d232fbeef5aff1371be3.tar.xz
kernel-qcow2-linux-741b9c7da1abf2f96f69d232fbeef5aff1371be3.zip
watchdog: fix GETTIMEOUT ioctl in booke_wdt
Commit dcfb748422 ([WATCHDOG] fix book E watchdog to take WDIOC_SETTIMEOUT arg in seconds) fixed SETTIMEOUT ioctl to use seconds as a parameter instead of some hardware-specific "period", but missed to apply similar changes to GETTIMEOUT, so it still returns "period" value. Let's fix it! Also, while at it, make SETTIMEOUT ioctl return real timeout value as it should do according to the documentation. Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/pcwd.c')
0 files changed, 0 insertions, 0 deletions