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
History
File Mode Size
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 252 bytes
acl.c -rw-r--r-- 8.1 KB
acl.h -rw-r--r-- 1.7 KB
cache.c -rw-r--r-- 10.3 KB
cache.h -rw-r--r-- 4.4 KB
fid.c -rw-r--r-- 6.8 KB
fid.h -rw-r--r-- 1.3 KB
v9fs.c -rw-r--r-- 14.7 KB
v9fs.h -rw-r--r-- 7.2 KB
v9fs_vfs.h -rw-r--r-- 3.6 KB
vfs_addr.c -rw-r--r-- 8.2 KB
vfs_dentry.c -rw-r--r-- 3.1 KB
vfs_dir.c -rw-r--r-- 5.7 KB
vfs_file.c -rw-r--r-- 16.7 KB
vfs_inode.c -rw-r--r-- 33.3 KB
vfs_inode_dotl.c -rw-r--r-- 24.6 KB
vfs_super.c -rw-r--r-- 8.6 KB
xattr.c -rw-r--r-- 5.1 KB
xattr.h -rw-r--r-- 1.2 KB

back to top