]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
gpio/omap: remove omap_gpio_save_context overhead
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 15 Nov 2011 07:22:38 +0000 (12:52 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 11:15:01 +0000 (16:45 +0530)
commit41d87cbd660fd5793a6c70f9c93d9dcc8964179d
tree6c9242bc406e263e050766e43c1c96c91bd56ea0
parent6fd9c421649961a9d6d30b149e0128dde1b806b4
gpio/omap: remove omap_gpio_save_context overhead

Context is now saved dynamically in respective functions whenever and
whichever registers are modified. This avoid overhead of saving all
registers context in the runtime suspend callback.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/gpio/gpio-omap.c