linux/drivers/pci/controller/dwc
Richard Zhu 2a12efc567 PCI: imx6: Skip controller_id generation logic for i.MX7D
[ Upstream commit f068ffdd03 ]

The i.MX7D only has one PCIe controller, so controller_id should always be
0. The previous code is incorrect although yielding the correct result.

Fix by removing "IMX7D" from the switch case branch.

Fixes: 2d8ed461db ("PCI: imx6: Add support for i.MX8MQ")
Link: https://lore.kernel.org/r/20241126075702.4099164-5-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:52:25 +01:00
..
Kconfig PCI: dwc: Sort Kconfig entries by vendor 2023-04-20 16:18:05 -05:00
Makefile PCI: dwc: Add Baikal-T1 PCIe controller support 2022-11-23 16:01:55 +01:00
pci-dra7xx.c PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ 2024-10-04 16:29:44 +02:00
pci-exynos.c PCI: exynos: Don't discard .remove() callback 2023-11-28 17:20:01 +00:00
pci-imx6.c PCI: imx6: Skip controller_id generation logic for i.MX7D 2025-02-08 09:52:25 +01:00
pci-keystone.c PCI: keystone: Add link up check to ks_pcie_other_map_bus() 2024-12-09 10:33:07 +01:00
pci-layerscape-ep.c PCI: layerscape: Add workaround for lost link capabilities during reset 2023-08-24 10:08:25 +02:00
pci-layerscape.c PCI: layerscape: Add power management support for ls1028a 2023-08-24 11:49:38 +02:00
pci-meson.c Merge branch 'pci/misc' 2023-08-29 11:03:57 -05:00
pcie-al.c PCI: al: Check IORESOURCE_BUS existence during probe 2024-09-08 07:54:43 +02:00
pcie-armada8k.c PCI: Remove unnecessary <linux/of_irq.h> includes 2022-11-10 14:53:51 -06:00
pcie-artpec6.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-bt1.c PCI: dwc: Convert to platform remove callback returning void 2023-06-24 14:11:56 +00:00
pcie-designware-ep.c PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot 2024-08-03 08:54:02 +02:00
pcie-designware-host.c pci-v6.6-changes 2023-08-30 20:23:07 -07:00
pcie-designware-plat.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-designware.c PCI: dwc: Add missing PCI_EXP_LNKCAP_MLW handling 2023-11-28 17:19:44 +00:00
pcie-designware.h pci-v6.6-changes 2023-08-30 20:23:07 -07:00
pcie-dw-rockchip.c PCI: dw-rockchip: Fix initial PERST# GPIO value 2024-08-03 08:54:21 +02:00
pcie-fu740.c PCI: fu740: Set the number of MSI vectors 2023-08-23 09:33:23 +02:00
pcie-hisi.c PCI: hisi: Avoid invalid address space conversions 2022-01-03 15:05:28 -06:00
pcie-histb.c PCI: dwc: Convert to platform remove callback returning void 2023-06-24 14:11:56 +00:00
pcie-intel-gw.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-keembay.c PCI: keembay: Remove cast between incompatible function type 2023-07-13 18:20:31 +00:00
pcie-kirin.c PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port() 2024-10-04 16:29:32 +02:00
pcie-qcom-ep.c PCI: qcom-ep: Disable resources unconditionally during PERST# assert 2024-08-03 08:54:02 +02:00
pcie-qcom.c PCI: qcom: Add support for IPQ9574 2024-12-14 20:00:13 +01:00
pcie-spear13xx.c Merge branch 'pci/misc' 2022-08-04 11:46:53 -05:00
pcie-tegra194-acpi.c PCI: dwc: Simplify in/outbound iATU setup methods 2022-08-01 15:15:09 -05:00
pcie-tegra194.c PCI: tegra194: Fix probe path for Endpoint mode 2024-06-12 11:12:17 +02:00
pcie-uniphier-ep.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-uniphier.c PCI: dwc: Rename struct pcie_port to dw_pcie_rp 2022-07-05 19:00:52 -05:00
pcie-visconti.c PCI: dwc: Rename struct pcie_port to dw_pcie_rp 2022-07-05 19:00:52 -05:00