Roland Stigge 6e20fb1805 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>
2011-02-11 16:12:20 -08:00
..
2011-01-14 12:38:11 +01:00
2011-01-13 08:03:14 -08:00
2011-01-13 08:03:14 -08:00
2011-01-13 08:03:13 -08:00
2010-10-27 18:03:07 -07:00
2011-01-13 08:03:13 -08:00
2010-03-07 22:17:37 +01:00
2011-01-13 08:03:14 -08:00
2010-10-29 00:29:51 +02:00