From 2d2076c4d0f8eb0f75cd07cbe3809ce150d5b085 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Mon, 2 Sep 2019 17:41:06 +0800 Subject: ASoC: fsl_spdif: Add pm_runtime_enable in probe Add pm_runtime_enable in probe Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_spdif.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/soc/fsl/fsl_spdif.c') diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 4de132a064b6..5d35805176ec 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1495,6 +1495,8 @@ static int fsl_spdif_probe(struct platform_device *pdev) regmap_update_bits(spdif_priv->regmap, REG_SPDIF_SCR, SCR_VAL_MASK, 1 << SCR_VAL_OFFSET); + pm_runtime_enable(&pdev->dev); + /* Register with ASoC */ dev_set_drvdata(&pdev->dev, spdif_priv); -- cgit v1.2.3