summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 12:06:51 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 12:06:51 +0100
commit3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e (patch)
tree5c3c0e4cfef1f3a9d0fbe0367c7dd3ebbf9dad29 /sound
parentMerge remote-tracking branch 'asoc/topic/wm5100' into asoc-next (diff)
parentASoC: wm8350: don't use [delayed_]work_pending() (diff)
downloadlinux-3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e.tar.xz
linux-3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e.zip
Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-next
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8350.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index fb92fb47d636..ec0efc1443ba 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -283,18 +283,16 @@ static int pga_event(struct snd_soc_dapm_widget *w,
out->ramp = WM8350_RAMP_UP;
out->active = 1;
- if (!delayed_work_pending(&codec->dapm.delayed_work))
- schedule_delayed_work(&codec->dapm.delayed_work,
- msecs_to_jiffies(1));
+ schedule_delayed_work(&codec->dapm.delayed_work,
+ msecs_to_jiffies(1));
break;
case SND_SOC_DAPM_PRE_PMD:
out->ramp = WM8350_RAMP_DOWN;
out->active = 0;
- if (!delayed_work_pending(&codec->dapm.delayed_work))
- schedule_delayed_work(&codec->dapm.delayed_work,
- msecs_to_jiffies(1));
+ schedule_delayed_work(&codec->dapm.delayed_work,
+ msecs_to_jiffies(1));
break;
}