diff options
author | Pali Rohár | 2021-10-07 14:50:58 +0200 |
---|---|---|
committer | Tom Rini | 2021-10-14 19:45:07 -0400 |
commit | 63ae80dd98d4c0d1123317043cdf2596e724e43a (patch) | |
tree | 34fefa8b5b79b9122847cbc9b659d893849ee23e /drivers/video/Makefile | |
parent | b9caab8b47ae6ad6a317a9ed05e90475248739d7 (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>
Diffstat (limited to 'drivers/video/Makefile')
0 files changed, 0 insertions, 0 deletions