]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Generic clock manipulation rountines for runtime PM (v6)
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 29 Apr 2011 22:25:44 +0000 (00:25 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 29 Apr 2011 22:25:44 +0000 (00:25 +0200)
commit13c29bacf46b133c52b7809921bb11c4a4056b7a
treeff3486424b60bb8de28ef76655d65cd0c1180449
parentcefafa7024d7350bc36db062d5266f3df5a7e4c6
PM / Runtime: Generic clock manipulation rountines for runtime PM (v6)

Many different platforms and subsystems may want to disable device
clocks during suspend and enable them during resume which is going to
be done in a very similar way in all those cases.  For this reason,
provide generic routines for the manipulation of device clocks during
suspend and resume.

Convert the ARM shmobile platform to using the new routines.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/pm_runtime.c
drivers/base/power/Makefile
drivers/base/power/clock_ops.c [new file with mode: 0644]
include/linux/pm_runtime.h
kernel/power/Kconfig