PCI: aardvark: Fix checking for MEM resource type
authorPali Rohár <pali@kernel.org>
Thu, 25 Nov 2021 16:01:47 +0000 (17:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Mar 2022 18:12:34 +0000 (19:12 +0100)
commitf303196899f1f733c238815f2a98bee1140448f3
treeda1798623b7de1ffa31dacff35e980e36bf4d9e7
parenta2f5e9a6f2a060cfa7668da3c82a4f79e4c61930
PCI: aardvark: Fix checking for MEM resource type

[ Upstream commit 2070b2ddea89f5b604fac3d27ade5cb6d19a5706 ]

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: 64f160e19e92 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/pci-aardvark.c