diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-07-21 17:21:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-22 12:59:41 -0400 |
commit | 1673ad52bd9a3c747e596a76e65c55981ea651e3 (patch) | |
tree | 9e018b1d511a96f745fc870bfdf8bf53759c25ae /drivers/gpio/Kconfig | |
parent | 0c36ec31473593aa937ff04f3b3b630e81512734 (diff) |
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 9e0c4fbfc51a..fced1909cbba 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -45,7 +45,7 @@ config GPIO_PCA953X | |||
45 | will be called pca953x. | 45 | will be called pca953x. |
46 | 46 | ||
47 | config GPIO_PCF857X | 47 | config GPIO_PCF857X |
48 | tristate "PCF857x, PCA857x, and PCA967x I2C GPIO expanders" | 48 | tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" |
49 | depends on I2C | 49 | depends on I2C |
50 | help | 50 | help |
51 | Say yes here to provide access to most "quasi-bidirectional" I2C | 51 | Say yes here to provide access to most "quasi-bidirectional" I2C |
@@ -54,7 +54,8 @@ config GPIO_PCF857X | |||
54 | some of them. Compatible models include: | 54 | some of them. Compatible models include: |
55 | 55 | ||
56 | 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, | 56 | 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, |
57 | pca9670, pca9672, pca9674, pca9674a | 57 | pca9670, pca9672, pca9674, pca9674a, |
58 | max7328, max7329 | ||
58 | 59 | ||
59 | 16 bits: pcf8575, pcf8575c, pca8575, | 60 | 16 bits: pcf8575, pcf8575c, pca8575, |
60 | pca9671, pca9673, pca9675 | 61 | pca9671, pca9673, pca9675 |