Commit a94cc4e6 authored by Committed by Linus Torvalds
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 <firstname.lastname@example.org> Signed-off-by: Alan Cox <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 3 additions and 1 deletion