PCI: artpec6: Stop enabling writes to DBI read-only registers
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 28 Aug 2017 10:53:01 +0000 (18:53 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 21:41:17 +0000 (16:41 -0500)
commitb015b37e6693de515982452eebd6a9d19201f0fe
treed030ad33399402fb37fb67ec9387d0e6b849bf60
parentc3f909398827b03fad9391951b3daa4a11dcf663
PCI: artpec6: Stop enabling writes to DBI read-only registers

Previously we enabled writes to the DBI read-only registers so the Class
Code fix in dw_pcie_setup_rc() would work.  But now dw_pcie_setup_rc()
enables write permission itself, so we don't need to do it here.

Stop enabling writes to the DBI read-only registers.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Roy Zang <tie-fei.zang@freescale.com>
drivers/pci/dwc/pcie-artpec6.c