Some designware based device driver especially host only driver may
work well with the default read_dbi/write_dbi/link_up implementation
in pcie-designware.c, thus remove the assumption to simplify those
drivers.
Since v2:
- rebase to the latest pci/dwc
- add Acked-by tag
Since v1:
- rebase to the latest dwc-next
Jisheng Zhang (2):
PCI: dwc: Don't assume the ops in dw_pcie always exists
PCI: dwc: al: Remove useless dw_pcie_ops
drivers/pci/controller/dwc/pcie-al.c | 4 ----
drivers/pci/controller/dwc/pcie-designware-ep.c | 8 +++-----
drivers/pci/controller/dwc/pcie-designware-host.c | 2 +-
drivers/pci/controller/dwc/pcie-designware.c | 14 +++++++-------
4 files changed, 11 insertions(+), 17 deletions(-)
--
2.30.0
On Thu, 28 Jan 2021 14:42:13 +0800, Jisheng Zhang wrote:
> Some designware based device driver especially host only driver may
> work well with the default read_dbi/write_dbi/link_up implementation
> in pcie-designware.c, thus remove the assumption to simplify those
> drivers.
>
> Since v2:
> - rebase to the latest pci/dwc
> - add Acked-by tag
>
> [...]
Applied to pci/dwc, thanks!
[1/2] PCI: dwc: Don't assume the ops in dw_pcie always exists
https://git.kernel.org/lpieralisi/pci/c/f2213e5f3b
[2/2] PCI: dwc: al: Remove useless dw_pcie_ops
https://git.kernel.org/lpieralisi/pci/c/05e11f20f5
Thanks,
Lorenzo