]> Pileus Git - ~andy/linux/commit
gpio/omap: enable irq at the end of all configuration in restore
authorNishanth Menon <nm@ti.com>
Mon, 29 Aug 2011 13:11:08 +0000 (18:41 +0530)
committerTarun Kanti DebBarma <tarun.kanti@ti.com>
Mon, 6 Feb 2012 11:26:14 +0000 (16:56 +0530)
commitba805be53cb9112917631d368f859af5e20d695f
treecfcb6050d18f108b1c8cfad673ebf5ea70918f1c
parentae547354a8ed59f19b57f7e1de9c7816edfc3537
gpio/omap: enable irq at the end of all configuration in restore

Setup the interrupt enable registers only after we have configured the
required edge and required configurations, not before, to prevent
spurious events as part of restore routine.

Signed-off-by: Nishanth Menon <nm@ti.com>
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