[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZvBHk65Vs93YbrTR92-8o0SgtUUWMBXeABQH0PZwpRxQ@mail.gmail.com>
Date: Wed, 11 Sep 2019 11:04:47 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Rashmica Gupta <rashmica.g@...il.com>
Cc: Andrew Jeffery <andrew@...id.au>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Joel Stanley <joel@....id.au>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/ASPEED MACHINE SUPPORT"
<linux-aspeed@...ts.ozlabs.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 2/5] gpio/aspeed: Fix incorrect number of banks
On Fri, Sep 6, 2019 at 7:26 AM Rashmica Gupta <rashmica.g@...il.com> wrote:
> The current calculation for the number of GPIO banks is only correct if
> the number of GPIOs is a multiple of 32 (if there were 31 GPIOs we would
> currently say there are 0 banks, which is incorrect).
>
> Fixes: 361b79119a4b7 ('gpio: Add Aspeed driver')
>
> Signed-off-by: Rashmica Gupta <rashmica.g@...il.com>
> Reviewed-by: Andrew Jeffery <andrew@...id.au>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists