diff options
| author | Roland Stigge <stigge@antcom.de> | 2011-02-11 02:01:23 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-12 03:12:20 +0300 |
| commit | 6e20fb18054c179d7e64c0af43d855b9310a3394 (patch) | |
| tree | 7fe6eda33162dbeab61afc2392229b9c57a644f1 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 01e05e9a90b8f4c3997ae0537e87720eb475e532 (diff) | |
| download | linux-6e20fb18054c179d7e64c0af43d855b9310a3394.tar.xz | |
drivers/gpio/pca953x.c: add a mutex to fix race condition
Add a mutex to register communication and handling. Without the mutex,
GPIOs didn't switch as expected when toggled in a fast sequence of
status changes of multiple outputs.
Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Marc Zyngier <maz@misterjones.org>
Cc: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
