diff options
author | Mayurkumar Patel <[email protected]> | 2016-08-23 08:58:51 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2016-09-14 14:24:45 -0500 |
commit | 69bd3c5b28e7c988886efb3c9a7614a612eef45d (patch) | |
tree | e66ead913a65b10d3e251214d7f5ea90cd09a0c3 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 0c923d1da394b96727b813d1e64412b72f1dc580 (diff) |
PCI: pciehp: Don't re-read Slot Status when handling surprise event
Previously we read Slot Status when handling a surprise event. But Slot
Status might have changed since we identified the event, and the event_type
already tells us whether to enable or disable the slot, so there's no need
to read it again.
Remove handle_surprise_event() and queue the power work directly.
[bhelgaas: changelog]
Tested-by: Lukas Wunner <[email protected]>
Signed-off-by: Mayurkumar Patel <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Acked-by: Rajat Jain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions