summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-09-02 17:41:06 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:54:24 +0800
commit2d2076c4d0f8eb0f75cd07cbe3809ce150d5b085 (patch)
tree387caf234fbc29a473ba89801a7de087db3b161e /sound/soc/fsl/fsl_spdif.c
parentccea8f42a786297d39a70dff869764faeede7404 (diff)
ASoC: fsl_spdif: Add pm_runtime_enable in probe
Add pm_runtime_enable in probe Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r--sound/soc/fsl/fsl_spdif.c2
1 files changed, 2 insertions, 0 deletions
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);