diff options
Diffstat (limited to 'drivers/staging/mei/main.c')
-rw-r--r-- | drivers/staging/mei/main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/staging/mei/main.c b/drivers/staging/mei/main.c index 925de38adc8..eb05c36f45d 100644 --- a/drivers/staging/mei/main.c +++ b/drivers/staging/mei/main.c | |||
@@ -1151,11 +1151,9 @@ static int mei_pci_resume(struct device *device) | |||
1151 | mei_reset(dev, 1); | 1151 | mei_reset(dev, 1); |
1152 | mutex_unlock(&dev->device_lock); | 1152 | mutex_unlock(&dev->device_lock); |
1153 | 1153 | ||
1154 | /* Start watchdog if stopped in suspend */ | 1154 | /* Start timer if stopped in suspend */ |
1155 | if (dev->wd_timeout) { | 1155 | schedule_delayed_work(&dev->timer_work, HZ); |
1156 | dev->wd_due_counter = 1; | 1156 | |
1157 | schedule_delayed_work(&dev->timer_work, HZ); | ||
1158 | } | ||
1159 | return err; | 1157 | return err; |
1160 | } | 1158 | } |
1161 | static SIMPLE_DEV_PM_OPS(mei_pm_ops, mei_pci_suspend, mei_pci_resume); | 1159 | static SIMPLE_DEV_PM_OPS(mei_pm_ops, mei_pci_suspend, mei_pci_resume); |