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

Commit 5c8471f9 authored by Tony Truong's avatar Tony Truong Committed by Matt Wagantall
Browse files

msm: pcie: correct PCIe PHY dump status register read



After writing to a PCIe PHY debug register, the wrong
PCIe PHY status register is being read back. This change
corrects the PCIe PHY status register that is read back.

Change-Id: If360aa6f9b4530e4c07acfcc1af684c6d7ecc234
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 9e730f81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1032,10 +1032,10 @@ static void pcie_phy_dump(struct msm_pcie_dev_t *dev)
			readl_relaxed(dev->phy +
				PCIE_COM_DEBUG_BUS_BYTE0_INDEX));
		PCIE_DUMP(dev,
			"PCIe: RC%d QSERDES_COM_DEBUG_BUS0: 0x%x\n\n",
			"PCIe: RC%d PCIE_COM_DEBUG_BUS_0_STATUS: 0x%x\n\n",
			dev->rc_idx,
			readl_relaxed(dev->phy +
				QSERDES_COM_DEBUG_BUS0));
				PCIE_COM_DEBUG_BUS_0_STATUS));
	}

	size = resource_size(dev->res[MSM_PCIE_RES_PHY].resource);