mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
misc: mei: set WDIOF_ALARMONLY on mei watchdog
mei watchdog doesn't reboot the system it only produces event
therefore mark it as WDIOF_ALARMONLY.
This patch depends on:
commit 2bbeed016d
Author: Alan Cox <alan@linux.intel.com>
watchdog: Add a flag to indicate the watchdog doesn't reboot things
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
169dc38868
commit
49fbd3f1c3
@ -341,7 +341,7 @@ static const struct watchdog_ops wd_ops = {
|
|||||||
};
|
};
|
||||||
static const struct watchdog_info wd_info = {
|
static const struct watchdog_info wd_info = {
|
||||||
.identity = INTEL_AMT_WATCHDOG_ID,
|
.identity = INTEL_AMT_WATCHDOG_ID,
|
||||||
.options = WDIOF_KEEPALIVEPING,
|
.options = WDIOF_KEEPALIVEPING | WDIOF_ALARMONLY,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct watchdog_device amt_wd_dev = {
|
static struct watchdog_device amt_wd_dev = {
|
||||||
|
Loading…
Reference in New Issue
Block a user