msm: pcie: Correct the mapping of PCI device
The two Root Complexes (RCs) on APQ8084 have the same vender ID
and device ID. So we can't distinguish two RCs by vender ID and
device ID. When we map PCI device structure to msm PCIe device
structure, we need to look through the PCI device list and check
the pointer of msm PCIe device as well.
Change-Id: Ide58d621b95bbb542b7fc4472105eb9ece46a228
Signed-off-by:
Yan He <yanhe@codeaurora.org>
Loading
Please register or sign in to comment