From: Dmitry Artamonow Date: Thu, 26 Jan 2012 19:24:30 +0000 (+0400) Subject: watchdog: fix GETTIMEOUT ioctl in booke_wdt X-Git-Tag: v3.3-rc6~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=741b9c7da1abf2f96f69d232fbeef5aff1371be3;p=pandora-kernel.git 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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed