853ff88324
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> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
74x164.c | ||
adp5520-gpio.c | ||
adp5588-gpio.c | ||
basic_mmio_gpio.c | ||
bt8xxgpio.c | ||
cs5535-gpio.c | ||
gpiolib.c | ||
it8761e_gpio.c | ||
janz-ttl.c | ||
Kconfig | ||
langwell_gpio.c | ||
Makefile | ||
max730x.c | ||
max732x.c | ||
max7300.c | ||
max7301.c | ||
mc33880.c | ||
mcp23s08.c | ||
pca953x.c | ||
pcf857x.c | ||
pch_gpio.c | ||
pl061.c | ||
rdc321x-gpio.c | ||
sch_gpio.c | ||
stmpe-gpio.c | ||
sx150x.c | ||
tc35892-gpio.c | ||
timbgpio.c | ||
twl4030-gpio.c | ||
ucb1400_gpio.c | ||
vr41xx_giu.c | ||
vx855_gpio.c | ||
wm831x-gpio.c | ||
wm8350-gpiolib.c | ||
wm8994-gpio.c | ||
xilinx_gpio.c |