Skip to content

Commit

Permalink
ASoC: wm8994: We don't need to runtime resume by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Feb 6, 2012
1 parent 14ac911 commit 5fab517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5fab517

Please sign in to comment.