From: Kevin Hilman Date: Thu, 17 May 2012 23:42:16 +0000 (-0700) Subject: gpio/omap: (re)fix wakeups on level-triggered GPIOs X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae1b215b7bc94b578eb2d3263ef2d3d99e3380d;p=pandora-kernel.git gpio/omap: (re)fix wakeups on level-triggered GPIOs commit 1b1287032 (gpio/omap: fix missing check in *_runtime_suspend()) broke wakeups on level-triggered GPIOs by adding the enabled non-wakeup GPIO check before the workaround that enables wakeups on level-triggered IRQs, effectively disabling that workaround. To fix, move the enabled non-wakeup GPIO check after the level-triggered IRQ workaround. Reported-by: Tony Lindgren Cc: Santosh Shilimkar Cc: Tarun Kanti DebBarma Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed