From: Tomas Hallenberg Date: Wed, 27 Oct 2010 22:33:17 +0000 (-0700) Subject: gpio: timbgpio: use a copy of the IER register to avoid it being trashed X-Git-Tag: v2.6.37-rc1~85^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d800a5b6e198c4fda07b88bb42a545709f193b;p=pandora-kernel.git gpio: timbgpio: use a copy of the IER register to avoid it being trashed Some versions of the hardware can trash the IER register if simultaneous interrupts occur. This patch works around it by using a local copy of the register and restoring it after every interrupt. Signed-off-by: Tomas Hallenberg Acked-by: Richard Röjfors Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed