[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZw_cM2G5OtqpA_GOYL61Pzz0Qkx1H-Pzmi2u1TmHiBsQ@mail.gmail.com>
Date: Tue, 17 Nov 2015 14:58:10 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Hongzhou Yang <hongzhou.yang@...iatek.com>
Cc: Matthias Brugger <matthias.bgg@...il.com>,
Yingjoe Chen <yingjoe.chen@...iatek.com>,
Axel Lin <axel.lin@...ics.com>,
Maoguang Meng <maoguang.meng@...iatek.com>,
Colin Ian King <colin.king@...onical.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
linux-mediatek@...ts.infradead.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
srv_heupstream@...iatek.com, Sascha Hauer <kernel@...gutronix.de>,
biao.huang@...iatek.com
Subject: Re: [PATCH] pinctrl: mediatek: Add get_direction support.
On Sat, Nov 14, 2015 at 1:49 AM, Hongzhou Yang
<hongzhou.yang@...iatek.com> wrote:
> Since Linux gpio framework return 0 for output, 1 for input.
> But HW use 0 stands for input, and 1 stands for output.
> So use negative to correct it.
>
> And gpio_chip.get is used to get input value, no need to get
> output value, so removing it.
>
> Signed-off-by: Hongzhou Yang <hongzhou.yang@...iatek.com>
> ---
> Add get direction support.
> Remove gpio_chip.get value for output direction.
This patch does not apply. Please rebase on v4.4-rc1
and resend.
Yours,
Linus Walleij
--
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