ARM: imx: Fix imx5 idle logic bug
authorRobert Lee <rob.lee@linaro.org>
Mon, 16 Apr 2012 23:37:48 +0000 (18:37 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 18 Apr 2012 09:52:24 +0000 (11:52 +0200)
commit4659b7f1fa3eb33a8f9a9dd209a5823602dc6dcf
treea5062c47d599226cd11546a924328b3a09b422e4
parentde1de1594faac901670356e09c8c42b73e35ebbf
ARM: imx: Fix imx5 idle logic bug

The imx5_idle() check of the tzic_eanble_wake() return value uses
incorrect (inverted) logic causing all attempt to idle to fail.

Signed-off-by: Robert Lee <rob.lee@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/mm-imx5.c