fsl_pci: Only modify registers if we have them
pme_msg_det exists only on PCIe controllers only set it if we are a "bridge". Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
be32bf20bc
commit
876b8f9789
|
@ -182,6 +182,7 @@ fsl_pci_init(struct pci_controller *hose)
|
||||||
|
|
||||||
/* Clear all error indications */
|
/* Clear all error indications */
|
||||||
|
|
||||||
|
if (bridge)
|
||||||
pci->pme_msg_det = 0xffffffff;
|
pci->pme_msg_det = 0xffffffff;
|
||||||
pci->pedr = 0xffffffff;
|
pci->pedr = 0xffffffff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue