Thread (3 messages) 3 messages, 3 authors, 2015-05-12

Re: [PATCH] gpio: gpio-kempld: Fix get_direction return value

flat view

From: Guenter Roeck <linux@roeck-us.net>
Date: 2015-05-11 13:09:10
Also in: lkml

On Mon, May 11, 2015 at 12:46:49PM +0200, Michael Brunner wrote:
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.

Reported-by: Jochen Henneberg <redacted>
Signed-off-by: Michael Brunner <redacted>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help