mbox series

[v3,0/2] PCI: dwc: remove useless dw_pcie_ops

Message ID 20210128144208.343052f7@xhacker.debian (mailing list archive)
Headers show
Series PCI: dwc: remove useless dw_pcie_ops | expand

Message

Jisheng Zhang Jan. 28, 2021, 6:42 a.m. UTC
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(-)

Comments

Lorenzo Pieralisi Jan. 28, 2021, 10:39 a.m. UTC | #1
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