diff options
author | Magnus Damm <damm@opensource.se> | 2013-11-19 19:23:35 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-11-25 03:03:39 -0500 |
commit | 664734c012e6f3a88b2da4c586002cd62a277003 (patch) | |
tree | e3ec46259e6ee183caa2fc837c28b13a43031bef /drivers | |
parent | 969bf7aec86ccd6ce1934ed634e29517ae2b8e10 (diff) |
gpio: em: 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-em.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index b1decec9b359..225eda662c6c 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c | |||
@@ -337,8 +337,6 @@ static int em_gio_probe(struct platform_device *pdev) | |||
337 | irq_chip->name = name; | 337 | irq_chip->name = name; |
338 | irq_chip->irq_mask = em_gio_irq_disable; | 338 | irq_chip->irq_mask = em_gio_irq_disable; |
339 | irq_chip->irq_unmask = em_gio_irq_enable; | 339 | irq_chip->irq_unmask = em_gio_irq_enable; |
340 | irq_chip->irq_enable = em_gio_irq_enable; | ||
341 | irq_chip->irq_disable = em_gio_irq_disable; | ||
342 | irq_chip->irq_set_type = em_gio_irq_set_type; | 340 | irq_chip->irq_set_type = em_gio_irq_set_type; |
343 | irq_chip->flags = IRQCHIP_SKIP_SET_WAKE; | 341 | irq_chip->flags = IRQCHIP_SKIP_SET_WAKE; |
344 | 342 | ||