[PATCH v16 1/9] PCI: Unify wait for link active into generic PCI

2018-05-11 Thread Oza Pawandeep
Clients such as HP, DPC are using pcie_wait_link_active(), which waits till the link becomes active or inactive. Made generic function and moved it to drivers/pci/pci.c Signed-off-by: Oza Pawandeep Reviewed-by: Keith Busch diff --git

[PATCH v16 1/9] PCI: Unify wait for link active into generic PCI

2018-05-11 Thread Oza Pawandeep
Clients such as HP, DPC are using pcie_wait_link_active(), which waits till the link becomes active or inactive. Made generic function and moved it to drivers/pci/pci.c Signed-off-by: Oza Pawandeep Reviewed-by: Keith Busch diff --git a/drivers/pci/hotplug/pciehp_hpc.c