Re: [PATCH] gpio: ath79: convert to dynamic GPIO base allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Regards,
Shiji Yang




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux