]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
gpio: pcf857x: add lock and handle more chips
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 21 Jul 2008 21:21:34 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Jul 2008 16:59:41 +0000 (09:59 -0700)
commit1673ad52bd9a3c747e596a76e65c55981ea651e3
tree9e018b1d511a96f745fc870bfdf8bf53759c25ae
parent0c36ec31473593aa937ff04f3b3b630e81512734
gpio: pcf857x: add lock and handle more chips

Two small updates to the pcf857x driver: (a) the max732[89] chips are
also second sources for the pcf8574/a, and (b) add a mutex to prevent
trashing the cached state.  Adding the lock is effectively a bugfix,
although it seems unlikely that anyone would have run into the issue it
protects against.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/Kconfig
drivers/gpio/pcf857x.c