]> git.baikalelectronics.ru Git - kernel.git/commit
FB: sa1100: make GPIO configuration setting safe
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 18 Jan 2012 12:52:59 +0000 (12:52 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Feb 2012 11:56:21 +0000 (11:56 +0000)
commit9e6602421ecc1eed900d760199594a9fbafcd14c
tree5de1c1786585782379809acaab73a67433a8b67f
parentcb2929dfd59195a61c2a93c7c9171d4bd3b03ffb
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>
drivers/video/sa1100fb.c