Hou Zhiqiang cbd50b3ca3 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>
2019-07-08 12:28:44 +01:00
..
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2018-03-19 14:20:43 -05:00
2019-01-14 17:01:20 -06:00
2018-03-19 14:20:43 -05:00
2019-04-29 16:12:05 -05:00
2019-05-13 18:34:46 -05:00
2019-05-07 09:18:12 -07:00
2018-03-19 14:20:43 -05:00
2018-10-02 10:14:32 +02:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-05-14 10:30:10 -07:00
2019-03-20 15:11:11 -05:00
2019-05-14 10:30:10 -07:00
2018-06-29 21:17:26 -05:00
2019-04-29 16:12:05 -05:00
2019-05-13 18:34:48 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2019-05-13 18:34:46 -05:00