https://github.com/torvalds/linux
Revision a94cc4e6c0a26a7c8f79a432ab2c89534aa674d5 authored by Kirill A. Shutemov on 26 August 2011, 11:20:59 UTC, committed by Linus Torvalds on 26 August 2011, 16:03:29 UTC
According to the SFI specification irq number 0xFF means device has no
interrupt or interrupt attached via GPIO.

Currently, we don't handle this special case and set irq field in
*_board_info structs to 255.  It leads to confusion in some drivers.
Accelerometer driver tries to register interrupt 255, fails and prints
"Cannot get IRQ" to dmesg.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1e8d4e8
History
Tip revision: a94cc4e6c0a26a7c8f79a432ab2c89534aa674d5 authored by Kirill A. Shutemov on 26 August 2011, 11:20:59 UTC
sfi: table irq 0xFF means 'no interrupt'
Tip revision: a94cc4e
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 7.8 KB
Makefile -rw-r--r-- 938 bytes
capability.c -rw-r--r-- 23.3 KB
commoncap.c -rw-r--r-- 27.2 KB
device_cgroup.c -rw-r--r-- 11.4 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.9 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 32.3 KB

back to top