From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Mon, 25 May 2015 18:19:43 +0200 Subject: [PATCH] clockevents: don't suspend/resume if unused In-Reply-To: <20150116165914.GS3843@piout.net> References: <1421399151-26800-1-git-send-email-alexandre.belloni@free-electrons.com> <20150116092014.GA27945@gradator.net> <20150116165914.GS3843@piout.net> Message-ID: <20150525161943.GC3199@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Thomas, Daniel, Any opinion on that? Maybe this patch could go in as is? On 16/01/2015 at 17:59:14 +0100, Alexandre Belloni wrote : > Hi, > > On 16/01/2015 at 10:20:14 +0100, Sylvain Rochet wrote : > > > + if (dev->suspend && dev->mode != CLOCK_EVT_MODE_UNUSED) > > > > I wonder if we should use > CLOCK_EVT_MODE_SHUTDOWN > > (or CLOCK_EVT_MODE_UNUSED || CLOCK_EVT_MODE_SHUTDOWN) instead of > > !CLOCK_EVT_MODE_UNUSED. > > > > I'll let Thomas or Daniel decide :) But I'm open to that. > > >-- > Alexandre Belloni, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751142AbbEYQT4 (ORCPT ); Mon, 25 May 2015 12:19:56 -0400 Received: from down.free-electrons.com ([37.187.137.238]:38100 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750781AbbEYQTz (ORCPT ); Mon, 25 May 2015 12:19:55 -0400 Date: Mon, 25 May 2015 18:19:43 +0200 From: Alexandre Belloni To: Thomas Gleixner , Daniel Lezcano Cc: Boris Brezillon , Sylvain Rochet , Nicolas Ferre , linux-kernel@vger.kernel.org, Maxime Ripard , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] clockevents: don't suspend/resume if unused Message-ID: <20150525161943.GC3199@piout.net> References: <1421399151-26800-1-git-send-email-alexandre.belloni@free-electrons.com> <20150116092014.GA27945@gradator.net> <20150116165914.GS3843@piout.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150116165914.GS3843@piout.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thomas, Daniel, Any opinion on that? Maybe this patch could go in as is? On 16/01/2015 at 17:59:14 +0100, Alexandre Belloni wrote : > Hi, > > On 16/01/2015 at 10:20:14 +0100, Sylvain Rochet wrote : > > > + if (dev->suspend && dev->mode != CLOCK_EVT_MODE_UNUSED) > > > > I wonder if we should use > CLOCK_EVT_MODE_SHUTDOWN > > (or CLOCK_EVT_MODE_UNUSED || CLOCK_EVT_MODE_SHUTDOWN) instead of > > !CLOCK_EVT_MODE_UNUSED. > > > > I'll let Thomas or Daniel decide :) But I'm open to that. > > >-- > Alexandre Belloni, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel