]> www.infradead.org Git - users/dwmw2/linux.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:36:50 +0000 (04:36 -0800)
commitbecc7331a625c0ffc2f6ebc6b66ad0fcc5148c0b
tree3543374768cac9d39e57b411d651e85b217b5f9a
parent6e27b78c0099b9b7b02a8d0fd2af8f85e51fc191
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