]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: dwc: dra7xx: Use RW1C for IRQSTATUS_MSI and IRQSTATUS_MAIN
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 19 Jun 2017 09:51:36 +0000 (15:21 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:39:31 +0000 (18:39 -0500)
commit40aa52c46288ebe37117bea84b1da8edb38e8604
treebc11e3d2080900696eee505a1762000f460d382e
parent27fce382a809064c0e23154433ce56ec2124dafa
PCI: dwc: dra7xx: Use RW1C for IRQSTATUS_MSI and IRQSTATUS_MAIN

Previously, we tried to clear interrupt requests by clearing bits in the
PCIECTRL_DRA7XX_CONF_IRQSTATUS_MSI and PCIECTRL_DRA7XX_CONF_IRQSTATUS_MAIN
registers.  But per the TRM, these fields are RW1C, so we must *set* bits
to clear the interrupt bits.

Fixes: 47ff3de911a7 ("PCI: dra7xx: Add TI DRA7xx PCIe driver")
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
[bhelgaas: changelog]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/pci-dra7xx.c