lkml.org 
[lkml]   [2018]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] ARM: pinctrl: stm32: Optimizes and enhances stm32gpio irqchip
    Date
    	- removes unneeded irq_chip.irq_eoi callback
    - adds irq_chip.irq_set_wake callback for possible
    in the future GPIO wakeup

    Signed-off-by: Radoslaw Pietrzyk <radoslaw.pietrzyk@gmail.com>
    ---
    drivers/pinctrl/stm32/pinctrl-stm32.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c
    index 617df16..5b1740d 100644
    --- a/drivers/pinctrl/stm32/pinctrl-stm32.c
    +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c
    @@ -268,10 +268,10 @@ 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_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,
    };
    --
    1.9.1
    \
     
     \ /
      Last update: 2018-02-21 14:52    [W:2.685 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site