aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-cadence-ep.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2019-01-14 16:45:08 +0530
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-02-15 10:00:18 +0000
commitb866c56b66d88a632e2fa6b922c4ea051937acbd (patch)
tree7eaf18c113bcab394b379915ac46eb487e61b5eb /drivers/pci/controller/pcie-cadence-ep.c
parentPCI: pci-epf-test: Remove setting epf_bar flags in function driver (diff)
downloadlinux-dev-b866c56b66d88a632e2fa6b922c4ea051937acbd.tar.xz
linux-dev-b866c56b66d88a632e2fa6b922c4ea051937acbd.zip
PCI: pci-epf-test: Do not allocate next BARs memory if current BAR is 64Bit
It's useless to allocate memory for next BAR if the current BAR is a 64Bit BAR. Stop allocating memory for the next BAR, if the current BARs flag indicates this is a 64Bit BAR. Tested-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions