[PATCH] pinctrl: msm: allow the gpio base to be configurable
Timur Tabi
timur at codeaurora.org
Wed Feb 7 06:50:35 PST 2018
On 2/7/18 7:19 AM, Linus Walleij wrote:
> if (tlmm_has_only_one_instance)
> base = 0;
> else
> base = -1;
This is effectively what my patch does. The first instance gets 0. The
second instance, if it exists, gets -1.
When the first instance is registered, there's no way to know whether
there will be a second instance.
--
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.
More information about the linux-arm-kernel
mailing list