From: Andres Salomon Date: Tue, 21 Dec 2010 21:04:42 +0000 (-0800) Subject: cs5535-gpio: don't apply errata #36 to edge detect GPIOs X-Git-Tag: v2.6.37-rc8~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=001851659354cce436b749a793f3512a53394d80;p=pandora-kernel.git 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 Signed-off-by: Andres Salomon Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed