[lkml]   [2008]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] clocksource: add enable() and disable() callbacks
    On Fri, Dec 12, 2008 at 12:08 PM, Andrew Morton
    <> wrote:
    > On Thu, 11 Dec 2008 20:49:09 +0900 Magnus Damm <> wrote:
    >> From: Magnus Damm <>
    >> Add enable() and disable() callbacks for clocksources. This allows
    >> us to put unused clocksources in power save mode. The functions
    >> clocksource_enable() and clocksource_disable() wrap the callbacks
    >> and are inserted in the timekeeping code to enable before use and
    >> disable after switching to a new clocksource.
    >> Signed-off-by: Magnus Damm <>
    >> Acked-by: John Stultz <>
    >> ---
    >> Same as before, but applies on top of the new read() patch.
    > I asusme we'll be seeing some patches which _use_ these changes?

    I've send a few iterations of my SuperH CMT timer patches to the
    linux-sh list, but I'd be happy to post next version to lkml instead
    if you prefer that!

    The CMT driver also needs the following patches:

    [PATCH] clocksource: pass clocksource to read() callback
    [PATCH][RFC] early platform driver support

    Any comments on the early platform driver code?


    / magnus

     \ /
      Last update: 2008-12-12 04:37    [W:0.039 / U:16.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site