[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZmyD-s-J50G8FJPXDyDYEJbLURSCz+DT+H7VFHJt5uLw@mail.gmail.com>
Date: Fri, 28 May 2021 11:20:33 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Fabien Parent <fparent@...libre.com>
Cc: Sean Wang <sean.wang@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Mattijs Korpershoek <mkorpershoek@...libre.com>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 2/3] pinctrl: mediatek: don't hardcode mode encoding in
common code
On Fri, May 28, 2021 at 11:11 AM Fabien Parent <fparent@...libre.com> wrote:
> - bit = BIT(pin & 0xf);
> + bit = BIT(offset & pctl->devdata->mode_mask);
>
> I should not have replaced 'pin' by 'offset' here. What do you
> recommend me to do here, shall I send a V2 of this series and you will
> drop my V1 from your tree, or do you want me to make a new patch that
> fixes the error created by this patch?
I just made the small patch myself, it's faster.
Sending it out as we speak.
Yours,
Linus Walleij
Powered by blists - more mailing lists