PCI: dwc: Add API support to de-initialize host
authorVidya Sagar <vidyas@nvidia.com>
Tue, 25 Jun 2019 09:22:36 +0000 (14:52 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 27 Jun 2019 11:02:46 +0000 (12:02 +0100)
commit9d071cade30a05b46e894885beeba9922dc4fd23
tree023283315d0d86cd9b5b072e6de7b5c937d0b3ec
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
PCI: dwc: Add API support to de-initialize host

Add an API to group all the tasks to be done to de-initialize host which
can then be called by any dwc core based driver implementations
while adding .remove() support in their respective drivers.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.h