Re: [PATCH v3 2/5] gpio/aspeed: Fix incorrect number of banks
From: Linus Walleij <hidden>
Date: 2019-09-11 10:05:02
Also in:
linux-aspeed, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2019-09-11 10:05:02
Also in:
linux-aspeed, linux-gpio, lkml
On Fri, Sep 6, 2019 at 7:26 AM Rashmica Gupta [off-list ref] 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 <redacted>
Reviewed-by: Andrew Jeffery <redacted>Patch applied. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel