[PATCH 4/5] ASoC: amd: added pmops for pci driver

2019-09-26 Thread Ravulapati Vishnu vardhan rao
Runtime powermanagement is added for PCI driver. When there is no activity for at least 10 secs driver suspends automatically.Runtime- Suspend and resume Stub functions are added. Signed-off-by: Ravulapati Vishnu vardhan rao Reviewed-by: Vijendar Mukunda --- sound/soc/amd/raven/pci-acp3x.c | 2

Re: [PATCH 4/5] ASoC: amd: added pmops for pci driver

2019-09-30 Thread vishnu
Hi Mark, Thanks for your suggestions. Please ignore all the patches.I will address all the inputs shared by you and resend them. Thanks, Vishnu On 26/09/19 11:54 PM, Mark Brown wrote: > On Fri, Sep 27, 2019 at 04:37:38AM +0530, Ravulapati Vishnu vardhan rao wrote: > >> +static int snd_acp3x_s

Re: [PATCH 4/5] ASoC: amd: added pmops for pci driver

2019-09-26 Thread Mark Brown
On Fri, Sep 27, 2019 at 04:37:38AM +0530, Ravulapati Vishnu vardhan rao wrote: > +static int snd_acp3x_suspend(struct device *dev) > +{ > + return 0; > +} > + > +static int snd_acp3x_resume(struct device *dev) > +{ > + return 0; > +} > + > +static const struct dev_pm_ops acp3x_pm = { > +