diff options
author | Jean-Philippe Brucker | 2019-03-18 16:07:18 +0000 |
---|---|---|
committer | Bjorn Helgaas | 2019-04-05 17:45:39 -0500 |
commit | 6302bf3ef78dd210b5ff4a922afcb7d8eff8a211 (patch) | |
tree | 0ce775e3c498ae04fa0905ddcb909169d78b6068 /drivers/mtd/ubi | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
PCI: Init PCIe feature bits for managed host bridge alloc
Two functions allocate a host bridge: devm_pci_alloc_host_bridge() and
pci_alloc_host_bridge(). At the moment, only the unmanaged one initializes
the PCIe feature bits, which prevents from using features such as hotplug
or AER on some systems, when booting with device tree. Make the
initialization code common.
Fixes: 02bfeb484230 ("PCI/portdrv: Simplify PCIe feature permission checking")
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org # v4.17+
Diffstat (limited to 'drivers/mtd/ubi')
0 files changed, 0 insertions, 0 deletions