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@xxxxxxxx> > --- Acked-by: Timur Tabi <timur@xxxxxxxxxxxxx> I don't have an easy way to test the watchdog ioctls. -- Timur Tabi Linux kernel developer at Freescale -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html