Thread (23 messages) 23 messages, 5 authors, 2018-03-27

[PATCH v3 3/3] pinctrl: qcom: Don't allow protected pins to be requested

From: Timur Tabi <hidden>
Date: 2018-03-23 00:23:12
Also in: linux-arm-msm, linux-devicetree, linux-gpio, lkml

On 03/22/2018 07:16 PM, Timur Tabi wrote:
This needs to be ret <= max_gpios, otherwise it will fail if every GPIO 
is available.

And it should print an error message and return an error code if ret > 
max_gpios.
Also, you don't allocate chip->valid_mask anywhere.

-- 
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