diff options
| author | Serge Semin <[email protected]> | 2022-06-24 17:34:16 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-07-05 19:00:52 -0500 |
| commit | ec7b952f453ce7eabe7e1bea584626934d44f668 (patch) | |
| tree | 36c9b58a8059093b762253f80084006534f0258f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8161e9626b50892eaedbd8070ecb1586ecedb109 (diff) | |
PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists
If the "snps,enable-cdm-check" property exists, we should enable the CDM
check. But previously dw_pcie_setup() could exit before doing so if the
"num-lanes" property was absent or invalid.
Move the CDM enable earlier so we do it regardless of whether "num-lanes"
is present.
[bhelgaas: commit log]
Fixes: 07f123def73e ("PCI: dwc: Add support to enable CDM register check")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Vidya Sagar <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions