]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
gpio: em: Use lazy disable
authorMagnus Damm <damm@opensource.se>
Wed, 20 Nov 2013 00:23:35 +0000 (09:23 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Nov 2013 08:03:39 +0000 (09:03 +0100)
commit664734c012e6f3a88b2da4c586002cd62a277003
treee3ec46259e6ee183caa2fc837c28b13a43031bef
parent969bf7aec86ccd6ce1934ed634e29517ae2b8e10
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>
drivers/gpio/gpio-em.c