Revision 70e8b40176c75d3544024e7c934720b11a8a11bf authored by Bjorn Helgaas on 08 September 2016, 21:43:40 UTC, committed by Bjorn Helgaas on 14 September 2016, 19:24:25 UTC
After 1469d17dd341 ("PCI: pciehp: Handle invalid data when reading from non-existent devices"), we returned IRQ_HANDLED when we failed to read interrupt status from the bridge. I think it's better to return IRQ_NONE, as we do in other cases where there's no interrupt pending. This will facilitate refactoring the loop in pcie_isr(): we'll be able to call the ISR in a loop as long as it returns IRQ_HANDLED. Return IRQ_NONE if we couldn't read interrupt status. Tested-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
1 parent a8499f2
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 374 bytes |
__avr32_asr64.S | -rw-r--r-- | 560 bytes |
__avr32_lsl64.S | -rw-r--r-- | 559 bytes |
__avr32_lsr64.S | -rw-r--r-- | 559 bytes |
clear_user.S | -rw-r--r-- | 1.2 KB |
copy_user.S | -rw-r--r-- | 2.2 KB |
csum_partial.S | -rw-r--r-- | 892 bytes |
csum_partial_copy_generic.S | -rw-r--r-- | 1.7 KB |
delay.c | -rw-r--r-- | 1.3 KB |
findbit.S | -rw-r--r-- | 3.2 KB |
io-readsb.S | -rw-r--r-- | 760 bytes |
io-readsl.S | -rw-r--r-- | 542 bytes |
io-readsw.S | -rw-r--r-- | 789 bytes |
io-writesb.S | -rw-r--r-- | 808 bytes |
io-writesl.S | -rw-r--r-- | 405 bytes |
io-writesw.S | -rw-r--r-- | 644 bytes |
memcpy.S | -rw-r--r-- | 1.2 KB |
memset.S | -rw-r--r-- | 1.2 KB |
strncpy_from_user.S | -rw-r--r-- | 1.2 KB |
strnlen_user.S | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...