lkml.org 
[lkml]   [2015]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio: gpio-kempld: Fix get_direction return value
From
On Mon, May 11, 2015 at 12:46 PM, Michael Brunner <mibru@gmx.de> 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 <jh@henneberg-systemdesign.com>
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>

Patch applied and tagged for stable v3.12+

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2015-05-12 14:21    [W:2.286 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site