Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mei: wd: add option WDIOF_SETTIMEOUT

According watchdog-kernel-api.txt WDIOF_SETTIMEOUT
should be set if the driver supplies set_timeout function

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Tomas Winkler and committed by
Greg Kroah-Hartman
c8df7292 9bb3a589

+3 -1
+3 -1
drivers/misc/mei/wd.c
··· 341 341 }; 342 342 static const struct watchdog_info wd_info = { 343 343 .identity = INTEL_AMT_WATCHDOG_ID, 344 - .options = WDIOF_KEEPALIVEPING | WDIOF_ALARMONLY, 344 + .options = WDIOF_KEEPALIVEPING | 345 + WDIOF_SETTIMEOUT | 346 + WDIOF_ALARMONLY, 345 347 }; 346 348 347 349 static struct watchdog_device amt_wd_dev = {