summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-at91-pio4.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2022-01-13 19:26:17 +0300
committerLinus Walleij <linus.walleij@linaro.org>2022-01-24 03:12:54 +0300
commitb9dc88de4d772999074680292d80b2d9119e841b (patch)
treeab8da83c7e2e0456a73b01caddd00fa217f5ea95 /drivers/pinctrl/pinctrl-at91-pio4.c
parent46f3418926f0404d98a62f3ab58fd893dc33e20c (diff)
downloadlinux-b9dc88de4d772999074680292d80b2d9119e841b.tar.xz
pinctrl: qcom: Return -EINVAL for setting affinity if no IRQ parent
The MSM GPIO IRQ controller relies on the parent IRQ controller to set the CPU affinity for the IRQ. And this is only valid if there is any wakeup parent available and defined in DT. For the case of no parent IRQ controller defined in DT, msm_gpio_irq_set_affinity() and msm_gpio_irq_set_vcpu_affinity() should return -EINVAL instead of 0 as the affinity can't be set. Otherwise, below warning will be printed by genirq: genirq: irq_chip msmgpio did not update eff. affinity mask of irq 70 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20220113162617.131697-1-manivannan.sadhasivam@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91-pio4.c')
0 files changed, 0 insertions, 0 deletions