projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92483df
)
PCI: designware: Remove pci_assign_unassigned_resources() from dw_pcie_host_init()
author
Lucas Stach
<l.stach@pengutronix.de>
Wed, 23 Jul 2014 17:52:40 +0000
(19:52 +0200)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 4 Sep 2014 20:58:48 +0000
(14:58 -0600)
The pci_common_init_dev() call right before will already handle the device
resource allocation, so this call was a no-op.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Mohit Kumar <mohit.kumar@st.com>
drivers/pci/host/pcie-designware.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pcie-designware.c
b/drivers/pci/host/pcie-designware.c
index 66462835fc02721b87ce8e86ad109b78af163453..538bbf310e44761359aabca75e271ecee7966e22 100644
(file)
--- a/
drivers/pci/host/pcie-designware.c
+++ b/
drivers/pci/host/pcie-designware.c
@@
-581,7
+581,6
@@
int __init dw_pcie_host_init(struct pcie_port *pp)
dw_pci.private_data = (void **)&pp;
pci_common_init_dev(pp->dev, &dw_pci);
- pci_assign_unassigned_resources();
#ifdef CONFIG_PCI_DOMAINS
dw_pci.domain++;
#endif