From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Fri, 16 Jan 2015 17:59:14 +0100 Subject: [PATCH] clockevents: don't suspend/resume if unused In-Reply-To: <20150116092014.GA27945@gradator.net> References: <1421399151-26800-1-git-send-email-alexandre.belloni@free-electrons.com> <20150116092014.GA27945@gradator.net> Message-ID: <20150116165914.GS3843@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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