[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<TYCP286MB0895E5D272723AB55F9F4043BCD62@TYCP286MB0895.JPNP286.PROD.OUTLOOK.COM>
Date: Wed, 26 Jun 2024 08:42:24 +0800
From: Shiji Yang <yangshiji66@...look.com>
To: jonas.gorski@...il.com
Cc: albeu@...e.fr,
brgl@...ev.pl,
linus.walleij@...aro.org,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: ath79: convert to dynamic GPIO base allocation
On 2024-06-25 14:16 UTC, Jonas Gorski wrote:
>
>> - /* Use base 0 to stay compatible with legacy platforms */
>> - ctrl->gc.base = 0;
>> + /* Dynamic allocation */
>> + ctrl->gc.base = -1;
>
>bgpip_init() will already have set gc.base to -1, so you can just drop
>the assignment.
>
>Best Regards,
>Jonas
>
Thanks, I've updated it in v2 patch:
https://lore.kernel.org/linux-gpio/TYCP286MB089598EA71E964BD8AB9EFD3BCD62@TYCP286MB0895.JPNP286.PROD.OUTLOOK.COM/
Regards,
Shiji Yang
Powered by blists - more mailing lists