mirror of https://gitee.com/openkylin/linux.git
gpio: rcar: Use lazy disable
Set the ->irq_enable() and ->irq_disable() methods to NULL to enable lazy disable of interrupts. This by itself provides some level of optimization, but is mainly enabled as ground work for future Suspend-to-RAM wake up support. Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
2ebac4f8ba
commit
fba968a1e6
|
@ -369,8 +369,6 @@ static int gpio_rcar_probe(struct platform_device *pdev)
|
|||
irq_chip->name = name;
|
||||
irq_chip->irq_mask = gpio_rcar_irq_disable;
|
||||
irq_chip->irq_unmask = gpio_rcar_irq_enable;
|
||||
irq_chip->irq_enable = gpio_rcar_irq_enable;
|
||||
irq_chip->irq_disable = gpio_rcar_irq_disable;
|
||||
irq_chip->irq_set_type = gpio_rcar_irq_set_type;
|
||||
irq_chip->flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_SET_TYPE_MASKED;
|
||||
|
||||
|
|
Loading…
Reference in New Issue