]> xenbits.xensource.com Git - people/aperard/linux.git/commitdiff
Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 11:57:34 +0000 (13:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 19:46:42 +0000 (21:46 +0200)
This reverts commit 35c95eda7b6d9883d1cc9bb1f89d454baa140ebc which is
commit a33d700e8eea76c62120cb3dbf5e01328f18319a upstream.

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

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Link: https://lore.kernel.org/r/f23affddab4d8b3cc07508f2d8735d88d823821d.camel@decadent.org.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/dwc/pcie-qcom.c

index 24dbb6968831649037a693b7232f8c21d53a8bc9..17f411772f0ca344606366275e3e8615e89c828e 100644 (file)
@@ -807,8 +807,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;
 }