Message ID | 4AF3CEC4.2000209@jp.fujitsu.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Index: 20091105/drivers/pci/pcie/aspm.c =================================================================== --- 20091105.orig/drivers/pci/pcie/aspm.c +++ 20091105/drivers/pci/pcie/aspm.c @@ -656,8 +656,10 @@ void pcie_aspm_exit_link_state(struct pc free_link_state(link); /* Recheck latencies and configure upstream links */ - pcie_update_aspm_capable(root); - pcie_config_aspm_path(parent_link); + if (parent_link) { + pcie_update_aspm_capable(root); + pcie_config_aspm_path(parent_link); + } out: mutex_unlock(&aspm_lock); up_read(&pci_bus_sem);