Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c31b5fd4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pcie: correct reads to shadow memory"

parents 458012d6 19cf174a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -890,7 +890,7 @@ static void msm_pcie_cfg_recover(struct msm_pcie_dev_t *dev, bool rc)
				dev->pcidev_table[i].bdf >> 16 & 0x07);
		}
		for (j = PCIE_CONF_SPACE_DW - 1; j >= 0; j--) {
			val = readl_relaxed(shadow + j);
			val = shadow[j];
			if (val != PCIE_CLEAR) {
				PCIE_DBG3(dev,
					"PCIe: before recovery:cfg 0x%x:0x%x\n",
@@ -999,7 +999,7 @@ static void msm_pcie_shadow_dump(struct msm_pcie_dev_t *dev, bool rc)
				dev->pcidev_table[i].bdf >> 16 & 0x07);
		}
		for (j = 0; j < PCIE_CONF_SPACE_DW; j++) {
			val = readl_relaxed(shadow + j);
			val = shadow[j];
			if (val != PCIE_CLEAR) {
				pr_alert("PCIe: shadow_dw[%d]:cfg 0x%x:0x%x\n",
					j, j * 4, val);