[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZT0xMDwwnQRvC1Q76yvBGoJnU1w_rSP8XcmKRnCQpnKg@mail.gmail.com>
Date: Fri, 15 Apr 2016 10:29:04 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yingjoe Chen <yingjoe.chen@...iatek.com>
Cc: Matthias Brugger <matthias.bgg@...il.com>,
Hongzhou Yang <hongzhou.yang@...iatek.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
srv_heupstream@...iatek.com, Daniel Kurtz <djkurtz@...omium.org>
Subject: Re: [PATCH v2] pinctrl: mediatek: correct debounce time unit in mtk_gpio_set_debounce
On Sat, Apr 2, 2016 at 8:57 AM, Yingjoe Chen <yingjoe.chen@...iatek.com> wrote:
> The debounce time unit for gpio_chip.set_debounce is us but
> mtk_gpio_set_debounce regard it as ms.
> Fix this by correct debounce time array dbnc_arr so it can find correct
> debounce setting. Debounce time for first debounce setting is 500us,
> correct this as well.
>
> While I'm at it, also change the debounce time array name to
> "debounce_time" for readability.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen@...iatek.com>
> ---
> This was based on v4.6-rc1
> Change since v1:
> - Improve commit message.
> - Change dbnc_arr name to debounce_time
Patch applied to fixes and tagged for stable.
Yours,
Linus Walleij
Powered by blists - more mailing lists