diff options
author | Andres Salomon <dilinger@queued.net> | 2010-12-21 13:04:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-12-23 15:31:48 -0800 |
commit | 001851659354cce436b749a793f3512a53394d80 (patch) | |
tree | cbce3c7d8f68c384229c40b915514b4668051d4a /mm/thrash.c | |
parent | e819eb8687767cefca7b6abf5ac6d5efcf581eeb (diff) | |
download | blackbird-op-linux-001851659354cce436b749a793f3512a53394d80.tar.gz blackbird-op-linux-001851659354cce436b749a793f3512a53394d80.zip |
cs5535-gpio: don't apply errata #36 to edge detect GPIOs
The edge detect status GPIOs function differently from the other atomic
model CS5536 GPIO registers; writing 1 to the high bits clears the GPIO,
but writing 1 to the lower bits also clears the bit.
This means that read-modify-write doesn't actually work for it, so don't
apply the errata here. If a negative edge status gets lost after
resume.. well, we tried our best!
Tested-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions