Michael Brunner
f230e8ffc0
gpio: gpio-kempld: Fix get_direction return value
...
This patch fixes an inverted return value of the gpio get_direction
function.
The wrong value causes the direction sysfs entry and GPIO debugfs file
to indicate incorrect GPIO direction settings. In some cases it also
prevents setting GPIO output values.
The problem is also present in all other stable kernel versions since
linux-3.12.
Cc: Stable <stable@vger.kernel.org> # v3.12+
Reported-by: Jochen Henneberg <jh@henneberg-systemdesign.com>
Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-12 13:49:13 +02:00
..
devres.c
gpio: fix constconst in devres
2015-03-17 17:45:59 +01:00
gpio-74x164.c
gpio-74xx-mmio.c
gpio-adnp.c
gpio-adp5520.c
gpio-adp5588.c
gpio: removing kfree remove functionality
2015-04-08 16:54:01 +02:00
gpio-altera.c
altera_gpio_probe() can be static
2015-03-27 09:28:40 +01:00
gpio-amd8111.c
gpio-amd8111: add release_region on ioport_map failure
2015-01-19 09:48:45 +01:00
gpio-arizona.c
This is the bulk of GPIO changes for the v4.1 development
2015-04-18 08:22:10 -04:00
gpio-bcm-kona.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-bt8xx.c
gpio-clps711x.c
gpio-crystalcove.c
gpio/crystalcove: Add additional GPIO for Panel control
2015-03-26 09:09:17 +01:00
gpio-cs5535.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-da9052.c
gpio: use (!foo) instead of (foo == NULL)
2015-04-08 09:54:21 +02:00
gpio-da9055.c
gpio: use (!foo) instead of (foo == NULL)
2015-04-08 09:54:21 +02:00
gpio-davinci.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-dln2.c
Linux 3.19-rc5
2015-01-20 11:03:07 +01:00
gpio-dwapb.c
gpio: dwapb: Convert to use resource managed APIs
2015-01-15 17:23:21 +01:00
gpio-em.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-ep93xx.c
gpio-f7188x.c
gpio: f7188x: add GPIO support for F71869A
2015-03-17 17:57:37 +01:00
gpio-ge.c
gpio: ge: Convert to use devm_kstrdup
2015-01-29 10:33:15 +01:00
gpio-generic.c
gpio-generic: add bgpio_set_multiple functions
2015-01-19 11:07:00 +01:00
gpio-grgpio.c
Linux 3.19-rc5
2015-01-20 11:03:07 +01:00
gpio-ich.c
gpio: ich: Implement get_direction function
2015-04-08 09:54:27 +02:00
gpio-intel-mid.c
gpio-iop.c
gpio-it8761e.c
gpio-janz-ttl.c
gpio-kempld.c
gpio: gpio-kempld: Fix get_direction return value
2015-05-12 13:49:13 +02:00
gpio-ks8695.c
gpio-loongson.c
gpio: loongson: Add Loongson-3A/3B GPIO driver support
2015-04-08 09:53:42 +02:00
gpio-lp3943.c
gpio-lpc32xx.c
gpio-lynxpoint.c
gpio-max730x.c
gpio-max732x.c
gpio: max732x: convert to GPIOLIB_IRQCHIP
2015-03-02 15:44:08 +01:00
gpio-max7300.c
gpio: max7300: remove 'ret' variable
2015-04-08 09:54:10 +02:00
gpio-max7301.c
gpio-mb86s7x.c
gpio: mb86s70: Return error if requesting an already assigned gpio
2015-03-02 15:35:41 +01:00
gpio-mc9s08dz60.c
gpio-mc33880.c
gpio: use (!foo) instead of (foo == NULL)
2015-04-08 09:54:21 +02:00
gpio-mcp23s08.c
gpio: removing kfree remove functionality
2015-04-08 16:54:01 +02:00
gpio-ml-ioh.c
gpio-mm-lantiq.c
gpio: gpio-mm-lantiq: Use of_mm_gpiochip_remove
2015-01-20 11:18:51 +01:00
gpio-moxart.c
gpio: moxart: convert to use basic mmio gpio library
2015-01-09 10:24:29 +01:00
gpio-mpc8xxx.c
gpio: mpc8xxx: remove __initdata annotation for mpc8xxx_gpio_ids[]
2015-03-05 10:51:35 +01:00
gpio-mpc5200.c
gpio: mpc5200: Use of_mm_gpiochip_remove
2015-01-20 11:18:28 +01:00
gpio-msic.c
gpio-msm-v2.c
gpio-mvebu.c
gpio: mvebu: Fix mask/unmask managment per irq chip type
2015-04-08 16:35:07 +02:00
gpio-mxc.c
gpio-mxs.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-octeon.c
gpio-omap.c
gpio: omap: Fix regression for MPUIO interrupts
2015-05-06 15:19:38 +02:00
gpio-palmas.c
gpio-pca953x.c
gpio-pcf857x.c
gpio: pcf857x: Propagate wake-up setting to parent irq controller
2015-03-04 13:50:46 +01:00
gpio-pch.c
gpio-pl061.c
gpio: pl061: hook request if gpio-ranges avaiable
2014-12-03 14:44:23 +01:00
gpio-pxa.c
gpio: pxa: simplify BANK_OFF macro offset calculation
2015-03-09 14:41:12 +01:00
gpio-rc5t583.c
gpio-rcar.c
gpio: rcar: Prevent module clock disable when wake-up is enabled
2015-03-26 10:25:32 +01:00
gpio-rdc321x.c
gpio-sa1100.c
ARM: 8281/1: sa1100: move GPIO-related IRQ code to gpio driver
2015-01-29 15:24:49 +00:00
gpio-samsung.c
gpio-sch.c
Revert "gpio: sch: use uapi/linux/pci_ids.h directly"
2015-04-10 11:35:45 +02:00
gpio-sch311x.c
gpio-sodaville.c
gpio-spear-spics.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-sta2x11.c
gpio-stmpe.c
gpio: stmpe: enforce device tree only mode
2015-01-20 11:03:22 +01:00
gpio-stp-xway.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-sx150x.c
gpio: sx150x: fixup OF support
2015-01-22 09:45:24 +01:00
gpio-syscon.c
gpio: syscon: reduce message level when direction reg offset not in dt
2015-03-27 11:17:08 +01:00
gpio-tb10x.c
gpio: gpio-tb10x: remove incorrect __exit markup
2015-03-27 11:25:23 +01:00
gpio-tc3589x.c
mfd: tc3589x: Enforce device-tree only mode
2015-03-26 14:20:17 +00:00
gpio-tegra.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-timberdale.c
gpio-tps6586x.c
gpio-tps65910.c
gpio-tps65912.c
gpio: tps65912: fix wrong container_of arguments
2015-02-23 15:40:32 +01:00
gpio-ts5500.c
gpio-twl4030.c
gpio-twl6040.c
gpio-tz1090-pdc.c
gpio: tz1090-pdc: Use resource_size to fix off-by-one resource size calculation
2015-01-29 10:34:13 +01:00
gpio-tz1090.c
gpio: tz1090: Use resource_size to fix off-by-one
2015-01-15 17:23:21 +01:00
gpio-ucb1400.c
gpio-vf610.c
gpio: vf610: Replaces comma between expression statements by semicolon
2015-03-06 11:17:36 +01:00
gpio-viperboard.c
gpio-vr41xx.c
Driver core patches for 3.19-rc1
2014-12-14 16:10:09 -08:00
gpio-vx855.c
gpio: vx855: Switch to use managed resources APIs
2015-01-15 17:23:18 +01:00
gpio-wm831x.c
gpio-wm8350.c
gpio-wm8994.c
gpio-xgene-sb.c
gpio: x-gene: fix devm_ioremap_resource() check
2015-04-08 09:53:57 +02:00
gpio-xgene.c
gpio-xilinx.c
gpio/xilinx: Use of_mm_gpiochip_remove
2015-01-15 17:23:18 +01:00
gpio-xtensa.c
gpio-zevio.c
gpio: zevio: Use of_mm_gpiochip_remove
2015-01-20 11:18:56 +01:00
gpio-zynq.c
PM: Merge the SET*_RUNTIME_PM_OPS() macros
2014-12-04 00:51:30 +01:00
gpiolib-acpi.c
gpiolib: change gpio pin from unsigned to signed in acpi callback
2015-04-27 15:20:33 +02:00
gpiolib-legacy.c
gpio: fix deferred probe detection for legacy API
2014-12-02 15:46:36 +01:00
gpiolib-of.c
This is the bulk of GPIO changes for the v4.1 development
2015-04-18 08:22:10 -04:00
gpiolib-sysfs.c
gpio: sysfs: fix memory leaks and device hotplug
2015-04-29 23:42:47 +02:00
gpiolib.c
gpio: fix gpio leak in gpiochip_add error path
2015-05-12 10:56:28 +02:00
gpiolib.h
This is the bulk of GPIO changes for the v4.1 development
2015-04-18 08:22:10 -04:00
Kconfig
ARM: SoC cleanups for v4.1
2015-04-22 09:04:39 -07:00
Makefile
ARM: SoC cleanups for v4.1
2015-04-22 09:04:39 -07:00