Commit 133a3605 authored by Bjorn Helgaas's avatar Bjorn Helgaas

Merge branch 'pci/host-designware' into next

* pci/host-designware:
  PCI: designware: Fix indent code style
parents 79bf7fc5 58275f2f
...@@ -220,7 +220,7 @@ static void clear_irq_range(struct pcie_port *pp, unsigned int irq_base, ...@@ -220,7 +220,7 @@ static void clear_irq_range(struct pcie_port *pp, unsigned int irq_base,
for (i = 0; i < nvec; i++) { for (i = 0; i < nvec; i++) {
irq_set_msi_desc_off(irq_base, i, NULL); irq_set_msi_desc_off(irq_base, i, NULL);
clear_bit(pos + i, pp->msi_irq_in_use); clear_bit(pos + i, pp->msi_irq_in_use);
/* Disable corresponding interrupt on MSI interrupt controller */ /* Disable corresponding interrupt on MSI controller */
res = ((pos + i) / 32) * 12; res = ((pos + i) / 32) * 12;
bit = (pos + i) % 32; bit = (pos + i) % 32;
dw_pcie_rd_own_conf(pp, PCIE_MSI_INTR0_ENABLE + res, 4, &val); dw_pcie_rd_own_conf(pp, PCIE_MSI_INTR0_ENABLE + res, 4, &val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment