+11
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>