Thread (9 messages) 9 messages, 4 authors, 2018-02-07

[PATCH] pinctrl: msm: allow the gpio base to be configurable

From: Timur Tabi <hidden>
Date: 2018-02-07 14:50:37
Also in: linux-arm-msm, linux-gpio

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help