From: Kirill A. Shutemov Date: Fri, 26 Aug 2011 11:20:59 +0000 (+0100) Subject: sfi: table irq 0xFF means 'no interrupt' X-Git-Tag: v3.1-rc4~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a94cc4e6c0a26a7c8f79a432ab2c89534aa674d5;p=pandora-kernel.git sfi: table irq 0xFF means 'no interrupt' 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed