Messages in this thread | | | Date | Fri, 27 Jan 2012 15:34:47 -0600 | From | Timur Tabi <> | Subject | Re: [PATCH] watchdog: fix GETTIMEOUT ioctl in booke_wdt |
| |
Dmitry Artamonow wrote: > 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> > ---
Acked-by: Timur Tabi <timur@freescale.com>
I don't have an easy way to test the watchdog ioctls.
-- Timur Tabi Linux kernel developer at Freescale
| |