From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932905AbcIENoK (ORCPT ); Mon, 5 Sep 2016 09:44:10 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:58342 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932501AbcIENoI (ORCPT ); Mon, 5 Sep 2016 09:44:08 -0400 Subject: Re: [PATCH] pwm: pwm-tipwmss: Remove all pm_runtime gets and puts from the driver To: Thierry Reding References: <20160808100915.30149-1-vigneshr@ti.com> <20160905065109.GE3532@ulmo.ba.sec> CC: "Sarha, Jyri" , "Gerlach, Dave" , "linux-omap@vger.kernel.org" , "linux-pwm@vger.kernel.org" , "linux-kernel@vger.kernel.org" From: "R, Vignesh" Message-ID: <780acbff-615f-d6c4-eb6b-1d78fba74e28@ti.com> Date: Mon, 5 Sep 2016 19:13:59 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160905065109.GE3532@ulmo.ba.sec> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> >> 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 >> Signed-off-by: Vignesh R >> --- >> drivers/pwm/pwm-tipwmss.c | 19 ------------------- >> 1 file changed, 19 deletions(-) > > Applied, with a slightly modified commit message. > Thanks!