lkml.org 
[lkml]   [2013]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio/lynxpoint: check if the interrupt is enabled in IRQ handler
From
On Tue, Oct 1, 2013 at 4:35 PM, Mika Westerberg
<mika.westerberg@linux.intel.com> wrote:

> Checking LP_INT_STAT is not enough in the interrupt handler because its
> contents get updated regardless of whether the pin has interrupt enabled or
> not. This causes the driver to loop forever for GPIOs that are pulled up.
>
> Fix this by checking the interrupt enable bit for the pin as well.
>
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

Patch applied for fixes with Mathias ACK.

Should this be tagged for -stable as well?

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-10-11 13:21    [W:0.062 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site