Re: [PATCH] pwm: pwm-tipwmss: Remove all pm_runtime gets and puts from the driver
From: Thierry Reding
Date: Thu Sep 08 2016 - 05:28:43 EST
On Mon, Aug 08, 2016 at 03:39:15PM +0530, Vignesh R wrote:
> From: Jyri Sarha <jsarha@xxxxxx>
>
> Remove all pm_runtime gets and puts, and dummy pm_ops, from the
> pwm-tipwmss driver as there is no direct hardware access. The runtime PM
> needs to be enabled, so that the runtime PM framework takes care of
> enabling/disabling of PWMSS clock when submodules of PWMSS (ECAP or
> EHRPWM) call pm_runtime APIs. With this change PWMSS clock goes to
> idle when none of the submodules are in use.
>
> Signed-off-by: Jyri Sarha <jsarha@xxxxxx>
> Signed-off-by: Vignesh R <vigneshr@xxxxxx>
> ---
> drivers/pwm/pwm-tipwmss.c | 19 -------------------
> 1 file changed, 19 deletions(-)
Applied, with a slightly modified commit message.
Thanks,
Thierry
Attachment:
signature.asc
Description: PGP signature