[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150511130901.GB24321@roeck-us.net>
Date: Mon, 11 May 2015 06:09:01 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Michael Brunner <mibru@....de>
Cc: linux-kernel@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
linux-gpio@...r.kernel.org,
Jochen Henneberg <jh@...neberg-systemdesign.com>,
Michael Brunner <michael.brunner@...tron.com>,
Darren Hart <dvhart@...ux.intel.com>,
Kevin Strasser <kevin.strasser@...ux.intel.com>
Subject: Re: [PATCH] gpio: gpio-kempld: Fix get_direction return value
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 <jh@...neberg-systemdesign.com>
> Signed-off-by: Michael Brunner <michael.brunner@...tron.com>
Reviewed-by: Guenter Roeck <linux@...ck-us.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists