From: Guenter Roeck <linux@roeck-us.net>
To: Michael Brunner <mibru@gmx.de>
Cc: linux-kernel@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
linux-gpio@vger.kernel.org,
Jochen Henneberg <jh@henneberg-systemdesign.com>,
Michael Brunner <michael.brunner@kontron.com>,
Darren Hart <dvhart@linux.intel.com>,
Kevin Strasser <kevin.strasser@linux.intel.com>
Subject: Re: [PATCH] gpio: gpio-kempld: Fix get_direction return value
Date: Mon, 11 May 2015 06:09:01 -0700 [thread overview]
Message-ID: <20150511130901.GB24321@roeck-us.net> (raw)
In-Reply-To: <20150511124649.1221e86e@hyperion>
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@henneberg-systemdesign.com>
> Signed-off-by: Michael Brunner <michael.brunner@kontron.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
next prev parent reply other threads:[~2015-05-11 13:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 10:46 Michael Brunner
2015-05-11 13:09 ` Guenter Roeck [this message]
2015-05-12 11:50 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150511130901.GB24321@roeck-us.net \
--to=linux@roeck-us.net \
--cc=dvhart@linux.intel.com \
--cc=gnurou@gmail.com \
--cc=jh@henneberg-systemdesign.com \
--cc=kevin.strasser@linux.intel.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mibru@gmx.de \
--cc=michael.brunner@kontron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®