pci: layerscape-ep: Add check of the PCIe controller enablement
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 13 May 2021 06:32:09 +0000 (14:32 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 14 May 2021 09:21:33 +0000 (14:51 +0530)
commitff306fc986174eed1208e891bc4915c3f2fce529
treef75d33fc5bd703ba06abe7380fcb26c72617d182
parentd274248dea083a9c6173fff1421903f3a5840aac
pci: layerscape-ep: Add check of the PCIe controller enablement

Stop to initialize the PCIe controller if it's disabled by RCW.

Fixes: 118e58e26eba ("pci: layerscape: Split the EP and RC driver")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
drivers/pci/pcie_layerscape_ep.c