diff --git a/techpack/audio/asoc/codecs/tas2557-core.c b/techpack/audio/asoc/codecs/tas2557-core.c index 32236aa6126f..3105443d5574 100644 --- a/techpack/audio/asoc/codecs/tas2557-core.c +++ b/techpack/audio/asoc/codecs/tas2557-core.c @@ -301,8 +301,7 @@ static void failsafe(struct tas2557_priv *pTAS2557) pTAS2557->mnRestart ++; msleep(100); dev_err(pTAS2557->dev, "I2C COMM error, restart SmartAmp.\n"); - queue_delayed_work(system_power_efficient_wq,&pTAS2557->irq_work, - msecs_to_jiffies(100)); + schedule_delayed_work(&pTAS2557->irq_work, msecs_to_jiffies(100)); return; } #endif diff --git a/techpack/audio/asoc/codecs/tas2557-regmap.c b/techpack/audio/asoc/codecs/tas2557-regmap.c index 2c1355960ccb..f4e4c0763619 100644 --- a/techpack/audio/asoc/codecs/tas2557-regmap.c +++ b/techpack/audio/asoc/codecs/tas2557-regmap.c @@ -345,7 +345,7 @@ void tas2557_enableIRQ(struct tas2557_priv *pTAS2557, bool enable) if (gpio_is_valid(pTAS2557->mnGpioINT)) { enable_irq(pTAS2557->mnIRQ); /* check after 10 ms */ - queue_delayed_work(system_power_efficient_wq, &pTAS2557->irq_work, msecs_to_jiffies(10)); + schedule_delayed_work(&pTAS2557->irq_work, msecs_to_jiffies(10)); pTAS2557->mbIRQEnable = true; } } @@ -523,8 +523,7 @@ static irqreturn_t tas2557_irq_handler(int irq, void *dev_id) tas2557_enableIRQ(pTAS2557, false); /* get IRQ status after 100 ms */ - queue_delayed_work(system_power_efficient_wq,&pTAS2557->irq_work, - msecs_to_jiffies(100)); + schedule_delayed_work(&pTAS2557->irq_work, msecs_to_jiffies(100)); return IRQ_HANDLED; }