summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
authorIngo Molnar2016-07-07 10:35:28 +0200
committerIngo Molnar2016-07-07 10:35:28 +0200
commit4b4b20852d1009c5e8bc357b22353b62e3a241c7 (patch)
tree1026418471fe10c5b9f2fdff8a6b49bf070938fc /drivers/edac/edac_mc.c
parenttick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer (diff)
parenttimers: Implement optimization for same expiry time in mod_timer() (diff)
downloadkernel-qcow2-linux-4b4b20852d1009c5e8bc357b22353b62e3a241c7.tar.gz
kernel-qcow2-linux-4b4b20852d1009c5e8bc357b22353b62e3a241c7.tar.xz
kernel-qcow2-linux-4b4b20852d1009c5e8bc357b22353b62e3a241c7.zip
Merge branch 'timers/fast-wheel' into timers/core
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r--drivers/edac/edac_mc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 6aa256b0a1ed..c3ee3ad98a63 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -565,7 +565,8 @@ void edac_mc_reset_delay_period(unsigned long value)
list_for_each(item, &mc_devices) {
mci = list_entry(item, struct mem_ctl_info, link);
- edac_mod_work(&mci->work, value);
+ if (mci->op_state == OP_RUNNING_POLL)
+ edac_mod_work(&mci->work, value);
}
mutex_unlock(&mem_ctls_mutex);
}