summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-aardvark.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2024-05-24 16:27:13 +0530
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2024-11-07 15:35:17 +0000
commit5a938ed9481b0c06cb97aec45e722a80568256fd (patch)
treec41a0a21fb93a52377ef87ec935492ac978b55fe /drivers/pci/controller/pci-aardvark.c
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
PCI: keystone: Set mode as Root Complex for "ti,keystone-pcie" compatible
commit 23284ad677a9 ("PCI: keystone: Add support for PCIe EP in AM654x Platforms") introduced configuring "enum dw_pcie_device_mode" as part of device data ("struct ks_pcie_of_data"). However it failed to set the mode for "ti,keystone-pcie" compatible. Since the mode defaults to "DW_PCIE_UNKNOWN_TYPE", the following error message is displayed for the v3.65a controller: "INVALID device type 0" Despite the driver probing successfully, the controller may not be functional in the Root Complex mode of operation. So, set the mode as Root Complex for "ti,keystone-pcie" compatible to fix this. Fixes: 23284ad677a9 ("PCI: keystone: Add support for PCIe EP in AM654x Platforms") Link: https://lore.kernel.org/r/20240524105714.191642-2-s-vadapalli@ti.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> [kwilczynski: commit log, added tag for stable releases] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/pci/controller/pci-aardvark.c')
0 files changed, 0 insertions, 0 deletions