1
0
Fork 0

PCI: ls_gen4: WA for SERROR

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Hou Zhiqiang 2019-05-28 11:17:35 +08:00 committed by Dong Aisheng
parent 7e3a04890a
commit 6d5b9d4c66
1 changed files with 2 additions and 2 deletions

View File

@ -242,13 +242,13 @@ static int ls_pcie_g4_read_other_conf(struct pci_bus *bus, unsigned int devfn,
struct ls_pcie_g4 *pcie = to_ls_pcie_g4(pci);
int ret;
if (pcie->rev == REV_1_0 && where == PCI_VENDOR_ID)
if (pcie->rev == REV_1_0)
ls_pcie_g4_lut_writel(pcie, PCIE_LUT_GCR,
0 << PCIE_LUT_GCR_RRE);
ret = pci_generic_config_read(bus, devfn, where, size, val);
if (pcie->rev == REV_1_0 && where == PCI_VENDOR_ID)
if (pcie->rev == REV_1_0)
ls_pcie_g4_lut_writel(pcie, PCIE_LUT_GCR,
1 << PCIE_LUT_GCR_RRE);