diff options
author | Tejun Heo <[email protected]> | 2010-06-07 15:15:08 +0200 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2010-06-07 16:03:15 -0400 |
commit | 0ee719527229fa86ace8e3abccae3c2a8bbfd6db (patch) | |
tree | 7c9e76554f55af8101f38b8e3338529b66b4d275 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7a4f876b876afb13856a79a0402f71b9dfbe86a8 (diff) |
ahci: redo stopping DMA engines on empty ports
Commit 96d60303fd (ahci: Turn off DMA engines when there's no device)
implemented stopping DMA engines on empty ports but it used single
sampling of status registers to determine device presence which led to
disabling of DMA engines on occupied ports. Do it after all EH
actions are complete using device presence state determined by EH.
This avoids spurious disabling of DMA engines and simplifies the code.
Signed-off-by: Tejun Heo <[email protected]>
Tested-by: Marc Dionne <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Robert Hancock <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions