RE: [PATCH V3] can: flexcan: implement can Runtime PM

2018-11-29 Thread Joakim Zhang
> -Original Message- > From: Marc Kleine-Budde > Sent: 2018年11月29日 17:44 > To: Joakim Zhang ; linux-...@vger.kernel.org > Cc: w...@grandegger.com; netdev@vger.kernel.org; > linux-ker...@vger.kernel.org; dl-linux-imx ; Aisheng > DONG > Subject: Re: [PATCH V3] can

Re: [PATCH V3] can: flexcan: implement can Runtime PM

2018-11-29 Thread Marc Kleine-Budde
On 11/29/18 9:08 AM, Joakim Zhang wrote: > From: Aisheng Dong > > Flexcan will be disabled during suspend if no wakeup function required and > enabled after resume accordingly. During this period, we could explicitly > disable clocks. > Since PM is optional, the clock is enabled at probe to guara

[PATCH V3] can: flexcan: implement can Runtime PM

2018-11-29 Thread Joakim Zhang
From: Aisheng Dong Flexcan will be disabled during suspend if no wakeup function required and enabled after resume accordingly. During this period, we could explicitly disable clocks. Since PM is optional, the clock is enabled at probe to guarante the clock is running when PM is not enabled in th