diff options
| author | Gabriele Paoloni <[email protected]> | 2015-09-28 16:03:10 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2015-11-02 20:48:45 +0000 |
| commit | 907fce0902539ecde609e485eb2ecd7119a7a623 (patch) | |
| tree | 158e8616fa813e0d0e2aa9a285f9de0f22317143 /lib/mpi/mpicoder.c | |
| parent | PCI: designware: Require config accesses to be naturally aligned (diff) | |
| download | kernel-907fce0902539ecde609e485eb2ecd7119a7a623.tar.gz kernel-907fce0902539ecde609e485eb2ecd7119a7a623.zip | |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
