Messages in this thread | | | Subject | Re: [PATCH] pinctrl: msm: Use dynamic GPIO numbering | From | Timur Tabi <> | Date | Tue, 20 Feb 2018 10:42:45 -0600 |
| |
On 02/07/2018 07:52 AM, Linus Walleij wrote: > OK I put this in devel for v4.17, let's see if something explodes > in linux-next else we can go with this. > > Otherwise we need something that conserves base 0 for singular > TLMM drivers and make it -1 for newer platforms with several > instances.
I don't see this patch in linusw/linux-gpio.git anywhere. Do you want me to submit another patch that implements this:
static int base = 0;
chip->base = base; base = -1;
This preserves existing behavior for current drivers.
-- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
| |