diff options
author | Gabriele Paoloni <gabriele.paoloni@huawei.com> | 2015-09-29 00:03:10 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-11-02 14:48:45 -0600 |
commit | 907fce0902539ecde609e485eb2ecd7119a7a623 (patch) | |
tree | 158e8616fa813e0d0e2aa9a285f9de0f22317143 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b6b18f589e1ddbfbc31f72ea7fb8a723a2d10058 (diff) |
PCI: designware: Make "num-lanes" an optional DT property
Currently "num-lanes" is read in dw_pcie_host_init(), but it is only used
if we call dw_pcie_setup_rc() while bringing up the link. If the link has
already been brought up by firmware, we need not call dw_pcie_setup_rc(),
and "num-lanes" is unnecessary.
Only complain about "num-lanes" if we actually need it and we didn't find a
valid value.
[bhelgaas: changelog]
Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions