[PATCH 2/3] [v3] pinctrl: qcom: disable GPIO groups with no pins

Timur Tabi timur at codeaurora.org
Wed Aug 16 12:55:03 PDT 2017


On 08/16/2017 02:31 PM, Jiandi An wrote:
> That is why the suggestion is instead of patching in each of the op
> function of registered irq_chip for the unavailable gpio that won't
> have use for all that anyways, simply don't register irq for the
> unavailable gpio

Ah, it looks like maybe I can update gpio_chip.irq_valid_mask after 
calling gpiochip_add_data().  I'll try it.

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