summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2019-08-20 07:28:49 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2019-08-22 18:16:24 +0100
commit66de33f09fd97201847de7e1e2ec8a117242e1d6 (patch)
tree98b3ede054ba793b5e3f5f16b6d2363cebd6e1ef /drivers/pci/controller/dwc/pci-keystone.c
parentee4ea764ea03253016034603cab352c0798ce173 (diff)
PCI: dwc: Return directly when num-lanes is not found
The num-lanes is optional since it is not needed on some platforms that bring up the link in firmware. The link programming is based on the num-lanes properties (which is optional); if it is not present code must return instead of fiddling with the lanes value to print an error message. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions