Re: [PATCH 2/2] ASoC: fsl: Move clock operation to PM runtime

2019-04-22 Thread Nicolin Chen
On Mon, Apr 22, 2019 at 11:02:22AM +, Viorel Suman wrote: > Hi Nicolin, > > On Sb, 2019-04-20 at 22:54 -0700, Nicolin Chen wrote: > > On Sat, Apr 20, 2019 at 03:59:05PM +, Daniel Baluta wrote: > > > > > > Turn off/on clocks when device enters suspend/resume. This > > > helps saving power.

Re: [PATCH 2/2] ASoC: fsl: Move clock operation to PM runtime

2019-04-22 Thread Viorel Suman
Hi Nicolin, On Sb, 2019-04-20 at 22:54 -0700, Nicolin Chen wrote: > On Sat, Apr 20, 2019 at 03:59:05PM +, Daniel Baluta wrote: > > > > Turn off/on clocks when device enters suspend/resume. This > > helps saving power. > > > > @@ -934,6 +933,25 @@ static int fsl_sai_runtime_suspend(struct dev

Re: [PATCH 2/2] ASoC: fsl: Move clock operation to PM runtime

2019-04-20 Thread Nicolin Chen
On Sat, Apr 20, 2019 at 03:59:05PM +, Daniel Baluta wrote: > Turn off/on clocks when device enters suspend/resume. This > helps saving power. > @@ -934,6 +933,25 @@ static int fsl_sai_runtime_suspend(struct device *dev) > static int fsl_sai_runtime_resume(struct device *dev) > { > stru

[PATCH 2/2] ASoC: fsl: Move clock operation to PM runtime

2019-04-20 Thread Daniel Baluta
From: Shengjiu Wang Turn off/on clocks when device enters suspend/resume. This helps saving power. Signed-off-by: Shengjiu Wang Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_sai.c | 54 + 1 file changed, 44 insertions(+), 10 deletions(-) diff --gi