Skip to content
Commit aec241df authored by Simon Glass's avatar Simon Glass
Browse files

dm: pci: Use the correct hose when configuring devices



Only the PCI controller has access to the PCI region information. Make sure
to use the controller (rather than any attached bridges) when configuring
devices.

This corrects a failure to scan and configure devices when driver model is
enabled for PCI.

Also add a comment to explain the problem.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent cdb6babe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment