Commit 2070b2d
PCI: aardvark: Fix checking for MEM resource type
IORESOURCE_MEM_64 is not a resource type but a type flag.
Remove incorrect check for type IORESOURCE_MEM_64.
Link: https://lore.kernel.org/r/20211125160148.26029-2-kabel@kernel.org
Fixes: 64f160e ("PCI: aardvark: Configure PCIe resources from 'ranges' DT property")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>1 parent fdbbe24 commit 2070b2d
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1553 | 1553 | | |
1554 | 1554 | | |
1555 | 1555 | | |
1556 | | - | |
1557 | | - | |
| 1556 | + | |
1558 | 1557 | | |
1559 | 1558 | | |
1560 | 1559 | | |
1561 | 1560 | | |
1562 | 1561 | | |
1563 | 1562 | | |
1564 | 1563 | | |
1565 | | - | |
1566 | | - | |
| 1564 | + | |
1567 | 1565 | | |
1568 | 1566 | | |
1569 | 1567 | | |
| |||
0 commit comments