From: Radoslaw Pietrzyk Date: Fri, 23 Feb 2018 08:31:45 +0000 (+0100) Subject: pinctrl: stm32: Optimizes and enhances stm32gpio irqchip X-Git-Tag: v4.19~1330^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=430a2a5945501888665989ea71af15fd507a7058;p=platform%2Fkernel%2Flinux-rpi.git pinctrl: stm32: Optimizes and enhances stm32gpio irqchip - removes unneeded irq_chip.irq_eoi callback - adds irq_chip.irq_set_wake callback for possible in the future GPIO wakeup - adds irq_chip.irq_ack callback Signed-off-by: Radoslaw Pietrzyk Reviewed-by: Ludovic Barre Tested-by: Ludovic Barre Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 617df16..6cbcff4 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c @@ -268,10 +268,11 @@ static void stm32_gpio_irq_release_resources(struct irq_data *irq_data) static struct irq_chip stm32_gpio_irq_chip = { .name = "stm32gpio", - .irq_eoi = irq_chip_eoi_parent, + .irq_ack = irq_chip_ack_parent, .irq_mask = irq_chip_mask_parent, .irq_unmask = irq_chip_unmask_parent, .irq_set_type = irq_chip_set_type_parent, + .irq_set_wake = irq_chip_set_wake_parent, .irq_request_resources = stm32_gpio_irq_request_resources, .irq_release_resources = stm32_gpio_irq_release_resources, };