mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] gpiolib: Correct debugfs display of WM831x GPIO inversion
@ 2010-02-17 18:45 Mark Brown
  2010-02-17 18:45 ` [PATCH 2/3] mfd: Add WM831x revision B support Mark Brown
  2010-02-17 18:45 ` [PATCH 3/3] gpiolib: Force wm831x GPIOs into GPIO mode when requested Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2010-02-17 18:45 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-kernel, Mark Brown

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 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 c5a00f7..2554180 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)
 			   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);
-- 
1.6.6.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-17 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-17 18:45 [PATCH 1/3] gpiolib: Correct debugfs display of WM831x GPIO inversion Mark Brown
2010-02-17 18:45 ` [PATCH 2/3] mfd: Add WM831x revision B support Mark Brown
2010-02-17 18:45 ` [PATCH 3/3] gpiolib: Force wm831x GPIOs into GPIO mode when requested Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome