OSDN Git Service

OMAP: CLK: CLKSRC: Add suspend resume hooks
authorKeerthy <j-keerthy@ti.com>
Tue, 22 May 2018 18:22:20 +0000 (23:52 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 23 May 2018 21:16:26 +0000 (14:16 -0700)
commit759c27bdc77577aaecb6f31768e5951a858f97a9
tree64cdd17425c1f3cca3e84e9f23f30f31dda9890d
parent38c4b121b0fb6b3a861345bad8d4d3db621f1829
OMAP: CLK: CLKSRC: Add suspend resume hooks

Add the save and restore for clksrc as part of suspend and resume
so that it saves the counter value and restores. This is needed in
modes like rtc+ddr in self-refresh not doing this stalls the time.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c