From: David Brownell Date: Mon, 21 Jul 2008 21:21:34 +0000 (-0700) Subject: gpio: pcf857x: add lock and handle more chips X-Git-Tag: v2.6.27-rc1~943 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1673ad52bd9a3c747e596a76e65c55981ea651e3;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed