]> git.baikalelectronics.ru Git - uboot.git/commit
pci: intel: Fix error when enumerating multi-function PCIe device
authorLey Foon Tan <ley.foon.tan@intel.com>
Fri, 24 May 2019 02:29:59 +0000 (10:29 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 11 Aug 2019 20:43:41 +0000 (16:43 -0400)
commitdcf9b6f6c8a34260f62f38636d23b31805c8e3d9
tree6395409f21691476b586486895152468549b6505
parentfcbc4096ebb286e1636be686ae1866e47416f8fa
pci: intel: Fix error when enumerating multi-function PCIe device

Hardware return completion status non-zero when read from non exist
function in multi-function PCIe device. Return error will cause PCIe
enumeration fail.

Change it to return 0 and return value 0xffffffff when error.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/pci/pcie_intel_fpga.c