summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps65910.c
diff options
context:
space:
mode:
authorMichael Brunner <mibru@gmx.de>2015-05-11 13:46:49 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-05-12 14:49:13 +0300
commitf230e8ffc03f17bd9d6b90ea890b8252a8cc1821 (patch)
tree0ed91fda8c78725fa92634a3128f3cf8ba159fd8 /drivers/mfd/tps65910.c
parent6d86750ce62391f5a0a7985d5c050c2e3c823ab9 (diff)
downloadlinux-f230e8ffc03f17bd9d6b90ea890b8252a8cc1821.tar.xz
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>
Diffstat (limited to 'drivers/mfd/tps65910.c')
0 files changed, 0 insertions, 0 deletions