diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-18 12:52:59 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-21 11:56:21 +0000 |
commit | 058502eb38a0f687e5af37209488d03656f87ffe (patch) | |
tree | 5de1c1786585782379809acaab73a67433a8b67f /lib/bug.c | |
parent | ba5fd193f4fd35e5e1771de15cc1aba11d19590d (diff) |
FB: sa1100: make GPIO configuration setting safe
The sa1100fb driver needs to set the GPIO direction and alternate
function register according to the panel that we're driving. We've
done this in the driver by read-modify-writing the register, which
may cause problems with races. Fix this with a minimal change.
Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions