]> git.karo-electronics.de Git - linux-beck.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)
commit91f8ae823f2be0ea3863360dc9327ab573a8f183
tree2ace0688824fdce7708d7ba3fc3bbefa07eed76a
parent24832b4de315ad00e5430a53772750dfcf18514d
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