[alsa-devel] [PATCH 1/2] ASoC: fsl: sai: Add support for runtime pm

Nicolin Chen nicoleotsuka at gmail.com
Sun Apr 21 07:43:52 CEST 2019


On Sat, Apr 20, 2019 at 03:59:04PM +0000, Daniel Baluta wrote:
> @@ -898,6 +899,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
>  
>  	platform_set_drvdata(pdev, sai);
>  
> +	pm_runtime_enable(&pdev->dev);

You will need pm_runtime_disable() somewhere, like remove().

Thanks


More information about the Alsa-devel mailing list