summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 19:37:08 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 20:06:01 +0100
commit5fab517476ad1e4af0043a7b8dd0bd4cdc58df9d (patch)
tree9be43519b17b4bade3d9610fa336ff71d73d4cee /sound/soc
parentASoC: max9768: Fix build and use new add control API. (diff)
downloadlinux-5fab517476ad1e4af0043a7b8dd0bd4cdc58df9d.tar.xz
linux-5fab517476ad1e4af0043a7b8dd0bd4cdc58df9d.zip
ASoC: wm8994: We don't need to runtime resume by default
This is the default state that the runtime PM infrastructure expects so instead just kick the runtime PM core to suspend us if we're not doing anything (as is default). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 9bb8192de7f2..6b12f5da6b7f 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3387,7 +3387,7 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec)
WM8994_IRQ_MIC1_DET;
pm_runtime_enable(codec->dev);
- pm_runtime_resume(codec->dev);
+ pm_runtime_idle(codec->dev);
/* By default use idle_bias_off, will override for WM8994 */
codec->dapm.idle_bias_off = 1;