Skip to content

Commit 4c5cc2f

Browse files
Cheick TraoreLinus Walleij
authored andcommitted
pinctrl: stm32: Manage irq affinity settings
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: Cheick Traore <cheick.traore@foss.st.com> Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Link: https://lore.kernel.org/20250610143042.295376-3-antonio.borneo@foss.st.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 9b71efc commit 4c5cc2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/stm32/pinctrl-stm32.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ static struct irq_chip stm32_gpio_irq_chip = {
413413
.irq_set_wake = irq_chip_set_wake_parent,
414414
.irq_request_resources = stm32_gpio_irq_request_resources,
415415
.irq_release_resources = stm32_gpio_irq_release_resources,
416+
.irq_set_affinity = IS_ENABLED(CONFIG_SMP) ? irq_chip_set_affinity_parent : NULL,
416417
};
417418

418419
static int stm32_gpio_domain_translate(struct irq_domain *d,

0 commit comments

Comments
 (0)