Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0b208c4 authored by Cheick Traore's avatar Cheick Traore Committed by Greg Kroah-Hartman
Browse files

pinctrl: stm32: Manage irq affinity settings



[ Upstream commit 4c5cc2f65386e22166ce006efe515c667aa075e4 ]

Trying to set the affinity of the interrupts associated to stm32
pinctrl results in a write error.

Fill struct irq_chip::irq_set_affinity to use the default helper
function.

Signed-off-by: default avatarCheick Traore <cheick.traore@foss.st.com>
Signed-off-by: default avatarAntonio Borneo <antonio.borneo@foss.st.com>
Link: https://lore.kernel.org/20250610143042.295376-3-antonio.borneo@foss.st.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0f798374
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -340,6 +340,7 @@ static struct irq_chip stm32_gpio_irq_chip = {
	.irq_set_wake	= irq_chip_set_wake_parent,
	.irq_request_resources = stm32_gpio_irq_request_resources,
	.irq_release_resources = stm32_gpio_irq_release_resources,
	.irq_set_affinity = IS_ENABLED(CONFIG_SMP) ? irq_chip_set_affinity_parent : NULL,
};

static int stm32_gpio_domain_translate(struct irq_domain *d,