diff options
author | Peter Ujfalusi <[email protected]> | 2012-12-20 10:44:11 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2013-01-17 11:48:12 +0100 |
commit | c111feabe2e200b15300d97107ffc1280bf8de2a (patch) | |
tree | 8776ec8a8887ae144f07de5b94fd7afa113c84bd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 72c7901ef00925c6d0cc7ab69183a684908303bc (diff) |
gpio: twl4030: Cache the direction and output states in private data
Use more coherent locking in the driver. Use bitfield to store the GPIO
direction and if the pin is configured as output store the status also in a
bitfiled.
In this way we can just look at these bitfields when we need information
about the pin status and only reach out to the chip when it is needed.
Signed-off-by: Peter Ujfalusi <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions