aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2011-07-06 08:52:23 +0000
committerRafael J. Wysocki <[email protected]>2011-07-06 08:52:23 +0000
commit69c843b45eb3b8f267019e6a05860c9c48337419 (patch)
tree11a797e0cfa0dee3e0f790123a687f9daa2789bb /tools/perf/builtin-script.c
parentPM / Runtime: Replace "run-time" with "runtime" in documentation (diff)
downloadkernel-69c843b45eb3b8f267019e6a05860c9c48337419.tar.gz
kernel-69c843b45eb3b8f267019e6a05860c9c48337419.zip
PM / Runtime: Prevent runtime_resume from racing with probe
This patch (as1475) adds device_lock() and device_unlock() calls to the store methods for the power/control and power/autosuspend_delay_ms sysfs attribute files. We don't want badly timed writes to these files to cause runtime_resume callbacks to occur while a driver is being probed for a device. Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions