summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 11:06:51 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-02-11 11:06:51 +0000
commit3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e (patch)
tree5c3c0e4cfef1f3a9d0fbe0367c7dd3ebbf9dad29
parenteceff8193312429349a5b5b49a48d9f8c764d9f5 (diff)
parent8a47ca957a6bf86f81893edd9401b91c00be4848 (diff)
downloadop-kernel-dev-3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e.zip
op-kernel-dev-3dfa480b9ea7d292216cecbf976a8d36a9d1ba6e.tar.gz
Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-next
-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 fb92fb4..ec0efc1 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;
}
OpenPOWER on IntegriCloud