summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2017-09-20 20:56:06 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-09-20 20:56:06 +0200
commit749aaf3372b8b56b8743c3e27700d64c8bd06921 (patch)
tree11434013812a24f21ab8df0b6c071879c8d8d739 /arch/mips
parentMIPS: PCI: Move map_irq() hooks out of initdata (diff)
downloadlinux-749aaf3372b8b56b8743c3e27700d64c8bd06921.tar.xz
linux-749aaf3372b8b56b8743c3e27700d64c8bd06921.zip
PCI: endpoint: Use correct "end of test" interrupt
pci_epf_test_raise_irq() reads the interrupt to use for the response from reg->command, but this has been cleared at the beginning of the command handler so the value is always zero at this point. Instead, extract the interrupt index before handling the command and then pass the requested interrupt into pci_epf_test_raise_irq(). This allows us to remove the specific code to extract the interrupt for COMMAND_RAISE_MSI_IRQ since it is now handled in common code. Fixes: 3ecf3232c54c ("PCI: endpoint: Do not reset *command* inadvertently") Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions