aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorLin Ming <[email protected]>2011-12-05 09:20:26 +0800
committerJeff Garzik <[email protected]>2012-01-08 19:14:57 -0500
commit54f57588463db1105f4a93b2902a6f95cb8f796a (patch)
tree5a8f50a836f49db68f994de214fdcaacda337151 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent286405167e815adc4ae0132214246a350b0208bc (diff)
[SCSI] sd: check runtime PM status in sd_shutdown
sd_shutdown is called during reboot/poweroff. It may fail if parent device, for example, ata port, was runtime suspended. Fix it by checking runtime PM status of sd. Exit immediately if sd was runtime suspended already. Acked-by: Alan Stern <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions