From: Axel Lin <axel.lin@ingics.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>,
Alexandre Courbot <gnurou@gmail.com>,
linux-gpio@vger.kernel.org
Subject: [PATCH 2/2] gpio: tps65218: Make tps65218_gpio_output set proper output level
Date: Mon, 15 Feb 2016 20:10:40 +0800 [thread overview]
Message-ID: <1455538240.9793.4.camel@ingics.com> (raw)
In-Reply-To: <1455538154.9793.2.camel@ingics.com>
The .direction_output callback should set proper output level.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/gpio/gpio-tps65218.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-tps65218.c b/drivers/gpio/gpio-tps65218.c
index 7b02f7b..a308a0b 100644
--- a/drivers/gpio/gpio-tps65218.c
+++ b/drivers/gpio/gpio-tps65218.c
@@ -59,6 +59,7 @@ static int tps65218_gpio_output(struct gpio_chip *gc, unsigned offset,
int value)
{
/* Only drives GPOs */
+ tps65218_gpio_set(gc, offset, value);
return 0;
}
--
2.1.4
next prev parent reply other threads:[~2016-02-15 12:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-15 12:09 [PATCH 1/2] gpio: tpic2810: Make tpic2810_direction_output set proper output level Axel Lin
2016-02-15 12:10 ` Axel Lin [this message]
2016-02-16 14:58 ` [PATCH 2/2] gpio: tps65218: Make tps65218_gpio_output " Linus Walleij
2016-02-16 14:57 ` [PATCH 1/2] gpio: tpic2810: Make tpic2810_direction_output " 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=1455538240.9793.4.camel@ingics.com \
--to=axel.lin@ingics.com \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=nicolassaenzj@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.