Re: [v4 2/4] PCI: dwc: Replace dw_pcie_find_capability() and dw_pcie_find_ext_capability()

From: Hans Zhang
Date: Fri Mar 21 2025 - 10:02:19 EST




On 2025/3/21 21:05, Manivannan Sadhasivam wrote:
On Fri, Mar 21, 2025 at 06:17:08PM +0800, Hans Zhang wrote:
Replace duplicate logic code. Use a common interface and provide callback
functions.


I'd reword the subject and description as:

```
PCI: dwc: Use common PCI host bridge APIs for finding the capabilities

Since the PCI core is now exposing generic APIs for the host bridges to
search for the PCIe capabilities, make use of them in the DWC driver.
```

Hi Mani,

Thank you very much for your advice. Will change.

Best regards,
Hans

Patch LGTM!

- Mani