]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: imx6: Fix establish link failure in EP mode for i.MX8MM and i.MX8MP
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 29 Jul 2024 20:18:08 +0000 (16:18 -0400)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 9 Sep 2024 14:08:12 +0000 (14:08 +0000)
commit5214ff221a14cadab1e2ee29499750fd5e884feb
tree69bd707b0539e0b8fb286041da11f55564a16574
parent8400291e289ee6b2bf9779ff1c83a291501f017b
PCI: imx6: Fix establish link failure in EP mode for i.MX8MM and i.MX8MP

Add IMX6_PCIE_FLAG_HAS_APP_RESET flag to IMX8MM_EP and IMX8MP_EP drvdata.

This flag was overlooked during code restructuring. It is crucial to
release the app-reset from the System Reset Controller before initiating
LTSSM to rectify the issue.

Fixes: 0c9651c21f2a ("PCI: imx6: Simplify reset handling by using *_FLAG_HAS_*_RESET")
Link: https://lore.kernel.org/linux-pci/20240729-pci2_upstream-v8-1-b68ee5ef2b4d@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: <stable@vger.kernel.org> # 6.9+
drivers/pci/controller/dwc/pci-imx6.c