diff options
author | Lars-Peter Clausen <[email protected]> | 2010-11-11 19:00:52 +0100 |
---|---|---|
committer | Anton Vorontsov <[email protected]> | 2010-11-18 16:56:16 +0300 |
commit | 8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b (patch) | |
tree | af77279c42d3c1e9e21676b1d28ca8ec1c043c73 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 86af95039b69a90db15294eb1f9c147f1df0a8ea (diff) |
jz4740-battery: Protect against concurrent battery readings
We can not handle more then one ADC request at a time to the battery.
The patch adds a mutex around the ADC read code to ensure this.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Cc: [email protected]
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions