]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: keystone: Fix error handling when "num-viewport" DT property is not populated
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 21 Jan 2020 11:57:34 +0000 (17:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:35:19 +0000 (04:35 -0800)
commit47bdd025b921a08f146db33715c49fe0c1dba581
tree295eb86a75831bb4df426dbd57677f4f51c4b017
parenta8b56e222300a9214f77766274dccff2edcfcc00
PCI: keystone: Fix error handling when "num-viewport" DT property is not populated

commit b0de922af53eede340986a2d05b6cd4b6d6efa43 upstream.

Fix error handling when "num-viewport" DT property is not populated.

Fixes: 23284ad677a9 ("PCI: keystone: Add support for PCIe EP in AM654x Platforms")
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pci-keystone.c