Commit 3dfa480b authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-next

parents eceff819 8a47ca95
...@@ -283,18 +283,16 @@ static int pga_event(struct snd_soc_dapm_widget *w, ...@@ -283,18 +283,16 @@ static int pga_event(struct snd_soc_dapm_widget *w,
out->ramp = WM8350_RAMP_UP; out->ramp = WM8350_RAMP_UP;
out->active = 1; out->active = 1;
if (!delayed_work_pending(&codec->dapm.delayed_work)) schedule_delayed_work(&codec->dapm.delayed_work,
schedule_delayed_work(&codec->dapm.delayed_work, msecs_to_jiffies(1));
msecs_to_jiffies(1));
break; break;
case SND_SOC_DAPM_PRE_PMD: case SND_SOC_DAPM_PRE_PMD:
out->ramp = WM8350_RAMP_DOWN; out->ramp = WM8350_RAMP_DOWN;
out->active = 0; out->active = 0;
if (!delayed_work_pending(&codec->dapm.delayed_work)) schedule_delayed_work(&codec->dapm.delayed_work,
schedule_delayed_work(&codec->dapm.delayed_work, msecs_to_jiffies(1));
msecs_to_jiffies(1));
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment