From mboxrd@z Thu Jan 1 00:00:00 1970 From: timur@codeaurora.org (Timur Tabi) Date: Wed, 16 Aug 2017 14:55:03 -0500 Subject: [PATCH 2/3] [v3] pinctrl: qcom: disable GPIO groups with no pins In-Reply-To: References: <1501179565-26466-1-git-send-email-timur@codeaurora.org> <1501179565-26466-3-git-send-email-timur@codeaurora.org> <7c278367-bf3b-6a26-e31f-ee696cb5534e@codeaurora.org> <66bfbee6-245d-fddb-f6cb-a2c3c06ffc9b@codeaurora.org> Message-ID: <4b1ac1f5-f302-6a02-798a-814b4b3a9b79@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.