Commit 6e101e44 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by sanglipeng
Browse files

Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"

stable inclusion
from stable-v5.10.198
commit 04b6b67a3e7726e427112b17dd34a5a71a9661be
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I987V5

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=04b6b67a3e7726e427112b17dd34a5a71a9661be



--------------------------------

This reverts commit 48e11e7c81b91002a120a513312a4de9f5ba7f08 which is
commit a33d700e upstream.

It was applied to the incorrect function as the original function the
commit changed is not in this kernel branch.

Reported-by: default avatarBen Hutchings <ben@decadent.org.uk>
Link: https://lore.kernel.org/r/f23affddab4d8b3cc07508f2d8735d88d823821d.camel@decadent.org.uk


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent b418ae76
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -771,8 +771,6 @@ static int qcom_pcie_get_resources_2_4_0(struct qcom_pcie *pcie)
			return PTR_ERR(res->phy_ahb_reset);
	}

	dw_pcie_dbi_ro_wr_dis(pci);

	return 0;
}