]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: designware: Setup and clear exactly one MSI at a time
authorLucas Stach <l.stach@pengutronix.de>
Tue, 30 Sep 2014 16:36:26 +0000 (18:36 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Sep 2014 21:08:58 +0000 (15:08 -0600)
commitc5142198580f3f3cb4b614fc2442ea4f4f65b439
tree2ace0688824fdce7708d7ba3fc3bbefa07eed76a
parent7be4d42f17c2bf91c00aec5e836d842db7f35cac
PCI: designware: Setup and clear exactly one MSI at a time

The setup_irq function is supposed to set up exactly one MSI IRQ.  Multiple
IRQ setup is handled differently, to respect the choices made by the upper
layers.

Also only clear one MSI IRQ at a time; the PCI core will call into this
function multiple times if it has to tear down more than one MSI IRQ.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Pratyush Anand <pratyush.anand@st.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
drivers/pci/host/pcie-designware.c