pTAS2559->mnRestart++;
msleep(100);
dev_err(pTAS2559->dev, "I2C COMM error, restart SmartAmp.\n");
- schedule_delayed_work(&pTAS2559->irq_work, msecs_to_jiffies(100));
+ queue_delayed_work(system_power_efficient_wq, &pTAS2559->irq_work, msecs_to_jiffies(100));
return;
}
if (bDevAEnable || bDevBEnable) {
/* check after 10 ms */
- schedule_delayed_work(&pTAS2559->irq_work, msecs_to_jiffies(10));
+ queue_delayed_work(system_power_efficient_wq, &pTAS2559->irq_work, msecs_to_jiffies(10));
}
pTAS2559->mbIRQEnable = true;
} else {
/* get IRQ status after 100 ms */
if (!delayed_work_pending(&pTAS2559->irq_work))
- schedule_delayed_work(&pTAS2559->irq_work, msecs_to_jiffies(100));
+ queue_delayed_work(system_power_efficient_wq, &pTAS2559->irq_work, msecs_to_jiffies(100));
return IRQ_HANDLED;
}
schedule_work(&pTAS2559->mtimerwork);
if (!delayed_work_pending(&pTAS2559->irq_work))
- schedule_delayed_work(&pTAS2559->irq_work, msecs_to_jiffies(20));
+ queue_delayed_work(system_power_efficient_wq, &pTAS2559->irq_work, msecs_to_jiffies(20));
}
return HRTIMER_NORESTART;