diff options
Diffstat (limited to 'sound/soc/codecs/max98090.c')
-rw-r--r-- | sound/soc/codecs/max98090.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index ad5313f98f28..0569a4c3ae00 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c | |||
@@ -2084,8 +2084,9 @@ static irqreturn_t max98090_interrupt(int irq, void *data) | |||
2084 | 2084 | ||
2085 | pm_wakeup_event(codec->dev, 100); | 2085 | pm_wakeup_event(codec->dev, 100); |
2086 | 2086 | ||
2087 | schedule_delayed_work(&max98090->jack_work, | 2087 | queue_delayed_work(system_power_efficient_wq, |
2088 | msecs_to_jiffies(100)); | 2088 | &max98090->jack_work, |
2089 | msecs_to_jiffies(100)); | ||
2089 | } | 2090 | } |
2090 | 2091 | ||
2091 | if (active & M98090_DRCACT_MASK) | 2092 | if (active & M98090_DRCACT_MASK) |
@@ -2132,8 +2133,9 @@ int max98090_mic_detect(struct snd_soc_codec *codec, | |||
2132 | snd_soc_jack_report(max98090->jack, 0, | 2133 | snd_soc_jack_report(max98090->jack, 0, |
2133 | SND_JACK_HEADSET | SND_JACK_BTN_0); | 2134 | SND_JACK_HEADSET | SND_JACK_BTN_0); |
2134 | 2135 | ||
2135 | schedule_delayed_work(&max98090->jack_work, | 2136 | queue_delayed_work(system_power_efficient_wq, |
2136 | msecs_to_jiffies(100)); | 2137 | &max98090->jack_work, |
2138 | msecs_to_jiffies(100)); | ||
2137 | 2139 | ||
2138 | return 0; | 2140 | return 0; |
2139 | } | 2141 | } |