PCI: dwc: Add host_post_init() callback
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 10 Oct 2023 15:59:13 +0000 (21:29 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sat, 14 Oct 2023 20:02:17 +0000 (20:02 +0000)
commita78794562fcb2659c976388b1285eddda97e9954
treeae58c86cb5233feb2fcdf5fbde652d0fb6dcc7ab
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
PCI: dwc: Add host_post_init() callback

This callback can be used by the platform drivers to do configuration
once all the devices are scanned. Like changing LNKCTL of all downstream
devices to enable ASPM etc...

Link: https://lore.kernel.org/linux-pci/20231010155914.9516-2-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/dwc/pcie-designware.h