From: Linus Walleij <linus.walleij@linaro.org>
To: Alexey Charkov <alchark@gmail.com>
Cc: Tony Prisk <linux@prisktech.co.nz>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction
Date: Fri, 9 May 2014 13:40:51 +0200 [thread overview]
Message-ID: <CACRpkdbJGWbTJQBJqs-T6c29JciKofMkWoSU=zYW2BOEP-VEJA@mail.gmail.com> (raw)
In-Reply-To: <1398800520-18135-1-git-send-email-alchark@gmail.com>
On Tue, Apr 29, 2014 at 9:42 PM, Alexey Charkov <alchark@gmail.com> wrote:
> Current code only touches the direction register when setting direction
> to output, which breaks logic like
>
> echo high > /sys/class/gpio/gpio0/direction
>
> which is expected to also set the value. This patch also adds a call
> to update the value register when setting direction to output.
>
> Signed-off-by: Alexey Charkov <alchark@gmail.com>
Patch applied for fixes with Tony's ACK.
Yours,
Linus Walleij
prev parent reply other threads:[~2014-05-09 11:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 19:42 [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction Alexey Charkov
2014-04-30 8:15 ` Tony Prisk
2014-05-09 11:40 ` Linus Walleij [this message]
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='CACRpkdbJGWbTJQBJqs-T6c29JciKofMkWoSU=zYW2BOEP-VEJA@mail.gmail.com' \
--to=linus.walleij@linaro.org \
--cc=alchark@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@prisktech.co.nz \
/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;
as well as URLs for NNTP newsgroup(s).