diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-13 14:00:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-04 01:36:05 +0200 |
commit | feb70af0e3ac6817327be70b47731039ea135dbc (patch) | |
tree | 7df6ab174688d8bcc637af0d7a8fc7beb6a1e2aa /kernel/time | |
parent | sh: MTU2: Basic runtime PM support (diff) | |
download | linux-feb70af0e3ac6817327be70b47731039ea135dbc.tar.xz linux-feb70af0e3ac6817327be70b47731039ea135dbc.zip |
PM: Do not use the syscore flag for runtime PM
The syscore device PM flag used to mark the devices (belonging to
PM domains) that should never be turned off, except for the system
core (syscore) suspend/hibernation and resume stages, need not be
accessed by the runtime PM core functions, because all of the devices
it is set for need to be marked as "irq safe" anyway and are
protected from being turned off by runtime PM by ensuring that their
usage counters are always set.
For this reason, make the syscore flag system-wide PM-specific
and simplify the code used for manipulating it, because it need not
acquire the device's power.lock any more.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions