]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/PCI: Set MPS before pci_bus_add_devices()
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 21 Jul 2015 21:35:19 +0000 (17:35 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jul 2015 14:53:19 +0000 (09:53 -0500)
commit525b7199755edf5fb12e9c2f627c5f03ea219818
treeed468d779a18b4ee6e957202ec155f68a6dc825c
parent2224aa81854753c5d601180031971fafaae55650
ARM/PCI: Set MPS before pci_bus_add_devices()

The MPS configuration should be done *before* pci_bus_add_devices().  After
pci_bus_add_devices(), drivers may be bound to devices, and the PCI core
shouldn't touch device configuration while a driver owns the device.

[bhelgaas: remove check for bus being non-NULL]
Reported-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/kernel/bios32.c