1
0
Fork 0

ASoC: fsl_spdif: Add pm_runtime_enable in probe

Add pm_runtime_enable in probe

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Shengjiu Wang 2019-09-02 17:41:06 +08:00 committed by Dong Aisheng
parent ccea8f42a7
commit 2d2076c4d0
1 changed files with 2 additions and 0 deletions

View File

@ -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);