lkml.org 
[lkml]   [2011]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [004/244] sfi: table irq 0xFF means no interrupt
On Wed, Sep 28, 2011 at 02:59:28PM -0700, Greg KH wrote:
> 3.0-stable review patch. If anyone has any objections, please let us know.
>
> ------------------
>
> From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
>
> commit a94cc4e6c0a26a7c8f79a432ab2c89534aa674d5 upstream.
>
> 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>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Please, take this as well:

http://lkml.org/lkml/2011/9/14/40

--
Kirill A. Shutemov


\
 
 \ /
  Last update: 2011-09-29 12:23    [W:0.536 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site