From: Mika Westerberg Date: Tue, 1 Oct 2013 14:35:43 +0000 (+0300) Subject: gpio/lynxpoint: check if the interrupt is enabled in IRQ handler X-Git-Tag: v3.12-rc6~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d152d5582abc8a1c19cb107164c3724bbd4be4;p=pandora-kernel.git gpio/lynxpoint: check if the interrupt is enabled in IRQ handler 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. Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg Acked-by: Mathias Nyman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed