Re: [PATCH] pwm: pwm-tipwmss: Remove all pm_runtime gets and puts from the driver
From: R, Vignesh
Date: Mon Sep 05 2016 - 09:44:12 EST
On 9/5/2016 12:21 PM, Thierry Reding wrote:
> 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!