[alsa-devel] [PATCH V2] ASoC: fsl_esai: Add pm runtime function

2019-04-19 Thread S.j. Wang
Hi > > > Add pm runtime support and move clock handling there. > fsl_esai_suspend is replaced by pm_runtime_force_suspend. > fsl_esai_resume is replaced by pm_runtime_force_resume. > > Signed-off-by: Shengjiu Wang > --- > Changes in v2 > -refine the commit comments. > -move regcache_mark_dir

Re: [alsa-devel] [PATCH V2] ASoC: fsl_esai: Add pm runtime function

2019-04-19 Thread Mark Brown
On Fri, Apr 19, 2019 at 11:01:21AM +, S.j. Wang wrote: > > fsl_esai_probe(struct platform_device *pdev) > > return ret; > > } > > > > + pm_runtime_enable(&pdev->dev); > > + > I just have a question, do I need to add pm_runtime_idle(&pdev->dev)? It gets used to