• Rafael J. Wysocki's avatar
    timekeeping: Add suspend and resume of clock event devices · adc78e6b
    Rafael J. Wysocki authored
    Some clock event devices, for example such that belong to PM domains,
    need to be handled in a spcial way during the timekeeping suspend
    and resume (which takes place in the system core, or "syscore",
    stages of system power transitions) in analogy with clock sources.
    
    Introduce .suspend() and .resume() callbacks for clock event devices
    that will be executed by timekeeping_suspend/_resume(), respectively,
    next the the clock sources' .suspend() and .resume() callbacks.
    Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
    adc78e6b
clockevents.c 11.7 KB