diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-01-13 23:40:14 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-01-13 23:40:14 (GMT) |
commit | a029db43986e23677498ab4d84bb61b05de83484 (patch) | |
tree | f05254ed98a0e2a5c20c24b7343fbefe9c5dd366 /arch/arm | |
parent | e59a8db8d9b7c02e0bbefbeb18a3836288a97b8a (diff) | |
download | linux-fsl-qoriq-a029db43986e23677498ab4d84bb61b05de83484.tar.xz |
PM / shmobile: fix A3SP suspend method
Fix the reverted condition in sh7372_a3sp_suspend().
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-shmobile/pm-sh7372.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index 77b8fc1..fcf8b17 100644 --- a/arch/arm/mach-shmobile/pm-sh7372.c +++ b/arch/arm/mach-shmobile/pm-sh7372.c @@ -276,7 +276,7 @@ static int sh7372_a3sp_suspend(void) * Serial consoles make use of SCIF hardware located in A3SP, * keep such power domain on if "no_console_suspend" is set. */ - return console_suspend_enabled ? -EBUSY : 0; + return console_suspend_enabled ? 0 : -EBUSY; } struct sh7372_pm_domain sh7372_a3sp = { |