Re: [PATCH v2 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-10 Thread Vijay Khemka
On 9/4/19, 6:17 PM, "Linux-aspeed on behalf of Rashmica Gupta" 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).

Re: [PATCH v2 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Andrew Jeffery
On Thu, 5 Sep 2019, at 10:46, Rashmica Gupta 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

[PATCH v2 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Rashmica Gupta
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 ---