diff options
-rw-r--r-- | drivers/char/agp/intel-agp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 9bc3a0b82b96..5eeaeeeaa2cc 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -2451,15 +2451,6 @@ static int agp_intel_resume(struct pci_dev *pdev) | |||
2451 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); | 2451 | struct agp_bridge_data *bridge = pci_get_drvdata(pdev); |
2452 | int ret_val; | 2452 | int ret_val; |
2453 | 2453 | ||
2454 | pci_restore_state(pdev); | ||
2455 | |||
2456 | /* We should restore our graphics device's config space, | ||
2457 | * as host bridge (00:00) resumes before graphics device (02:00), | ||
2458 | * then our access to its pci space can work right. | ||
2459 | */ | ||
2460 | if (intel_private.pcidev) | ||
2461 | pci_restore_state(intel_private.pcidev); | ||
2462 | |||
2463 | if (bridge->driver == &intel_generic_driver) | 2454 | if (bridge->driver == &intel_generic_driver) |
2464 | intel_configure(); | 2455 | intel_configure(); |
2465 | else if (bridge->driver == &intel_850_driver) | 2456 | else if (bridge->driver == &intel_850_driver) |