commit | 4fb659950439181a99f727ec09a1c1a9d1debefd | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Thu Oct 07 14:50:58 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 14 19:45:07 2021 -0400 |
tree | 34fefa8b5b79b9122847cbc9b659d893849ee23e | |
parent | 39a1d97031b59070515181ca16375a3dd0d10321 [diff] |
pci: Skip configuring invalid P2P bridge devices Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with Bridge header type (0x01). So add check before touching PCI config space to prevent misconfiguring some non-standard device. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>