Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fab5174 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 14ac9112
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;