diff options
author | Hans Zhang <18255117159@163.com> | 2025-08-13 22:45:29 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-08-20 15:56:19 -0500 |
commit | 907912c1daa7d87ec179ab35f6326e98233ae03a (patch) | |
tree | a264774aad86932fa36c5535e01a2edaa74d707b /scripts/generate_rust_analyzer.py | |
parent | 18ac51ae9df925292a4d8ca6550a199924ae9e17 (diff) |
PCI: cadence: Use cdns_pcie_find_*capability() to avoid hardcoding offsets
The PCI capability/extended capability offsets are not guaranteed to be the
same across all SoCs integrating the Cadence PCIe IP.
Use the cdns_pcie_find_{ext}_capability() APIs to find the capabilities,
which avoids hardcoding the offsets in the driver.
Signed-off-by: Hans Zhang <18255117159@163.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20250813144529.303548-7-18255117159@163.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions