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

Linus Walleij linus.walleij at linaro.org
Mon Jul 31 06:36:55 PDT 2017


On Thu, Jul 27, 2017 at 8:19 PM, Timur Tabi <timur at codeaurora.org> wrote:

> To support sparse GPIO maps, pinctrl-msm client drivers can specify
> that a given GPIO has a pin count of zero.  These GPIOs will be
> considered "hidden".  Any attempt to claim the GPIO will fail, and they
> will not be listed in debugfs.
>
> During a kexec shutdown, machine_kexec_mask_interrupts() will attempt
> to disable all IRQs, even those that aren't enabled.  This includes
> GPIOs that are unavailable (npins == 0), so add a check to the irq mask
> and unmask functions.
>
> Signed-off-by: Timur Tabi <timur at codeaurora.org>

I'm waiting for Björn's review of the two remaining patches.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list