commit | 2e21f37cca9bfb572755aa7137e273f5d0a85ecf | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Sun Dec 01 17:45:18 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Dec 05 10:28:38 2019 -0500 |
tree | 8564bfe6a5a0898a019d29043af1c1687fc89534 | |
parent | bc83bb4dcfa2661494d82b4856ce1d29e0d04ac0 [diff] |
drivers: pci: ignore disabled devices PCI devices may be disabled in the device tree. Devices which are probed by the device tree handle the "status" property and are skipped if disabled. Devices which are probed by the PCI enumeration don't check that property. Fix it. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Alex Marginean <alexandru.marginean@nxp.com> Tested-by: Alex Marginean <alexandru.marginean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>