Re: [PATCH] clockevents: don't suspend/resume if unused
From: Alexandre Belloni
Date: Fri Jan 16 2015 - 11:59:20 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/