summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorTomas Hallenberg <tomas.hallenberg@pelagicore.com>2010-10-27 15:33:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:07 -0700
commit76d800a5b6e198c4fda07b88bb42a545709f193b (patch)
treee1d16296c54137cbaedfbde59502fa28143755fc /include/linux/spi
parent09cd9527d621640d4dd231dff77b681e711d8e4b (diff)
downloadop-kernel-dev-76d800a5b6e198c4fda07b88bb42a545709f193b.zip
op-kernel-dev-76d800a5b6e198c4fda07b88bb42a545709f193b.tar.gz
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 <tomas.hallenberg@pelagicore.com> Acked-by: Richard Röjfors <richard.rojfors@pelagicore.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud