[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150720074009.GB4334@samfundet.no>
Date: Mon, 20 Jul 2015 09:40:09 +0200
From: Hans-Christian Egtvedt <egtvedt@...fundet.no>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
linaro-kernel@...ts.linaro.org, linux-kernel@...r.kernel.org,
Haavard Skinnemoen <hskinnemoen@...il.com>
Subject: Re: [PATCH 03/23] AVR32/time: Migrate to new 'set-state' interface
Around Thu 16 Jul 2015 16:56:15 +0530 or thereabout, Viresh Kumar wrote:
> Migrate avr32 driver to the new 'set-state' interface provided by
> clockevents core, the earlier 'set-mode' interface is marked obsolete
> now.
>
> This also enables us to implement callbacks for new states of clockevent
> devices, for example: ONESHOT_STOPPED.
>
> We want to call cpu_idle_poll_ctrl() in shutdown only if we were in
> oneshot or resume state earlier. Create another variable to save this
> information and check that in shutdown callback.
>
> Cc: Haavard Skinnemoen <hskinnemoen@...il.com>
> Cc: Hans-Christian Egtvedt <egtvedt@...fundet.no>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
Looks sane.
Acked-by: Hans-Christian Egtvedt <egtvedt@...fundet.no>
> ---
> arch/avr32/kernel/time.c | 65 ++++++++++++++++++++++++------------------------
> 1 file changed, 33 insertions(+), 32 deletions(-)
<snipp diff>
--
BR, HcE
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists