summaryrefslogtreecommitdiff
path: root/drivers/pci/rom.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2016-07-06 16:06:00 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2016-07-25 17:45:19 (GMT)
commit7e16fd6df178d3395d32c7d325df69062ea6e024 (patch)
tree3cf88d9cad1499adb6493f754d712ed1ced9ec9c /drivers/pci/rom.c
parent14a16d57eaeca38b5de9f9e13eff58c887b3a2e1 (diff)
downloadlinux-7e16fd6df178d3395d32c7d325df69062ea6e024.tar.xz
PCI: Bind DPC to Root Ports as well as Downstream Ports
PCIe port type values are not flags, so OR'ing them is not correct. Previously the result was equivalent to PCIe Downstream Ports, so we were missing binding to DPC-capable Root Ports. Change the type to 'any' so we can bind to both port types. While this will cause the code to check Upstream Ports, the driver won't claim them since they are not DPC-capable. Reported-by: Alexander Antonov <alexanderx.v.antonov@intel.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/pci/rom.c')
0 files changed, 0 insertions, 0 deletions