projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3383d23
)
gpiolib: Correct debugfs display of WM831x GPIO inversion
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Wed, 17 Feb 2010 18:45:24 +0000
(18:45 +0000)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 7 Mar 2010 21:17:29 +0000
(22:17 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/wm831x-gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/wm831x-gpio.c
b/drivers/gpio/wm831x-gpio.c
index
c5a00f7
..
2554180
100644
(file)
--- a/
drivers/gpio/wm831x-gpio.c
+++ b/
drivers/gpio/wm831x-gpio.c
@@
-176,7
+176,7
@@
static void wm831x_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
wm831x_gpio_get(chip, i) ? "high" : "low",
pull,
powerdomain,
- reg & WM831X_GPN_POL ? "
inverted" : "
",
+ reg & WM831X_GPN_POL ? "
" : " inverted
",
reg & WM831X_GPN_OD ? "open-drain" : "CMOS",
reg & WM831X_GPN_TRI ? " tristated" : "",
reg);