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

From: Mark Brown
Date: Fri Apr 19 2019 - 14:21:40 EST


On Fri, Apr 19, 2019 at 11:01:21AM +0000, 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 help drivers get into the correct state on startup, if
you're unsure if it's 100% required it shouldn't hurt.

Attachment: signature.asc
Description: PGP signature