Files
linux/drivers/gpio
Andres Salomon e6cc466ac1 cs5535-gpio: apply CS5536 errata workaround for GPIOs
commit 853ff88324 upstream.

The AMD Geode CS5536 Companion Device Silicon Revision B1 Specification
Update mentions the follow as issue #36:

 "Atomic write transactions to the atomic GPIO High Bank Feature Bit
  registers should only affect the bits selected [...]"

 "after Suspend, an atomic write transaction [...] will clear all
  non-selected bits of the accessed register."

In other words, writing to the high bank for a single GPIO bit will
clear every other GPIO bit (but only sometimes after a suspend).

The workaround described is obvious and simple; do a read-modify-write.
This patch does that, and documents why we're doing it.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:33:14 -08:00
..
2010-08-12 11:27:55 +02:00
2010-05-27 09:12:42 -07:00
2010-08-12 11:27:55 +02:00
2010-03-07 22:17:37 +01:00
2010-08-12 11:27:55 +02:00
2010-05-28 01:37:43 +02:00
2009-07-12 12:22:34 -07:00