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
parent
ccea8f42a7
commit
2d2076c4d0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue