Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Samuel Ortiz
6b8274fa 3383d23d

+1 -1
+1 -1
drivers/gpio/wm831x-gpio.c
··· 176 176 wm831x_gpio_get(chip, i) ? "high" : "low", 177 177 pull, 178 178 powerdomain, 179 - reg & WM831X_GPN_POL ? " inverted" : "", 179 + reg & WM831X_GPN_POL ? "" : " inverted", 180 180 reg & WM831X_GPN_OD ? "open-drain" : "CMOS", 181 181 reg & WM831X_GPN_TRI ? " tristated" : "", 182 182 reg);