diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2019-07-05 17:56:39 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-07-08 12:28:44 +0100 |
commit | cbd50b3ca3964c79dac65fda277637577e029e8c (patch) | |
tree | 09057831fd56c9f0399676d7fada7ca87d746ca9 /Documentation/devicetree/bindings/pci | |
parent | PCI: mobiveil: Initialize Primary/Secondary/Subordinate bus numbers (diff) | |
download | linux-dev-cbd50b3ca3964c79dac65fda277637577e029e8c.tar.xz linux-dev-cbd50b3ca3964c79dac65fda277637577e029e8c.zip |
PCI: mobiveil: Fix devfn check in mobiveil_pcie_valid_device()
Current check for devfn number in mobiveil_pci_valid_device() is
wrong in that it flags as invalid functions present in PCI device 0
in the root bus while it is perfectly valid to access all functions
in PCI device 0 in the root bus.
Update the check in mobiveil_pci_valid_device() to fix the issue.
Fixes: 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe Host Bridge IP driver")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/pci')
0 files changed, 0 insertions, 0 deletions