aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2011-11-07 07:53:23 -0800
committerJesse Barnes <[email protected]>2011-11-07 08:07:34 -0800
commitfdbd3ce9efb3a045266f2f6b2f1b6047882ff092 (patch)
treec5cc769c2e7fa8ab09061b6661406fcc168c84cb /tools/perf/util/scripting-engines/trace-event-python.c
parentc54420d3302d30999060e2669d0800b85e5b5a20 (diff)
PCI: pciehp: Retrieve link speed after link is trained
During hot plug, board_added will call pciehp_power_on_slot(). But link speed is updated in pciehp_power_on_slot(). We should not update link speed there, because that is too early. So move the link speed update to pciehp_check_link_status() after making sure the link has been trained. -v2: fix compile warning that Kenji found. Signed-off-by: Yinghai Lu <[email protected]> Reviewed-by: Kenji Kaneshige <[email protected]> Tested-by: Kenji Kaneshige <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions