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

Commit 345ccea8 authored by Tony Truong's avatar Tony Truong Committed by Gerrit - the friendly Code Review server
Browse files

msm: pcie: change the logging type for dumping PARF registers



When clients dumps PCIe PARF registers, it should not flood
dmesg. Change the logging type for dumping PCIe PARF register
to a lower priority one. The dump will only show up in PCIe
specific logs and not dmesg.

Change-Id: Ide04b0d2017ce3c1a99edd2b38ef5b06178a1f41
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 42b112dc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2340,6 +2340,9 @@ static void msm_pcie_sel_debug_testcase(struct msm_pcie_dev_t *dev,
		if (!base_sel) {
			PCIE_DBG_FS(dev, "Invalid base_sel: 0x%x\n", base_sel);
			break;
		} else if (base_sel - 1 == MSM_PCIE_RES_PARF) {
			pcie_parf_dump(dev);
			break;
		} else if (base_sel - 1 == MSM_PCIE_RES_PHY) {
			pcie_phy_dump(dev);
			break;