[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <524BFD92.8030406@linux.intel.com>
Date: Wed, 02 Oct 2013 14:03:46 +0300
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>,
linux-gpio@...r.kernel.org
CC: Linus Walleij <linus.walleij@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio/lynxpoint: check if the interrupt is enabled in
IRQ handler
On 10/01/2013 05:35 PM, Mika Westerberg 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@...ux.intel.com>
Acked-by: Mathias Nyman <mathias.nyman@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists