diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-02-17 13:45:24 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-03-07 16:17:29 -0500 |
commit | 6b8274fafeec9b112cee5b6ced5f9189957c889f (patch) | |
tree | 500a2acbbcbf67604293533fdfa33d3fa3bb09d1 | |
parent | 3383d23d86791503559cb87837491af37469d9e5 (diff) |
gpiolib: Correct debugfs display of WM831x GPIO inversion
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/gpio/wm831x-gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/wm831x-gpio.c b/drivers/gpio/wm831x-gpio.c index c5a00f7a7bf0..2554180534a1 100644 --- 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) | |||
176 | wm831x_gpio_get(chip, i) ? "high" : "low", | 176 | wm831x_gpio_get(chip, i) ? "high" : "low", |
177 | pull, | 177 | pull, |
178 | powerdomain, | 178 | powerdomain, |
179 | reg & WM831X_GPN_POL ? " inverted" : "", | 179 | reg & WM831X_GPN_POL ? "" : " inverted", |
180 | reg & WM831X_GPN_OD ? "open-drain" : "CMOS", | 180 | reg & WM831X_GPN_OD ? "open-drain" : "CMOS", |
181 | reg & WM831X_GPN_TRI ? " tristated" : "", | 181 | reg & WM831X_GPN_TRI ? " tristated" : "", |
182 | reg); | 182 | reg); |