aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-01-13 18:40:14 -0500
committerRafael J. Wysocki <rjw@sisk.pl>2012-01-13 18:40:14 -0500
commita029db43986e23677498ab4d84bb61b05de83484 (patch)
treef05254ed98a0e2a5c20c24b7343fbefe9c5dd366 /arch/arm/mach-shmobile
parente59a8db8d9b7c02e0bbefbeb18a3836288a97b8a (diff)
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/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/pm-sh7372.c2
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 77b8fc12fc2f..fcf8b1761aef 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)
276 * Serial consoles make use of SCIF hardware located in A3SP, 276 * Serial consoles make use of SCIF hardware located in A3SP,
277 * keep such power domain on if "no_console_suspend" is set. 277 * keep such power domain on if "no_console_suspend" is set.
278 */ 278 */
279 return console_suspend_enabled ? -EBUSY : 0; 279 return console_suspend_enabled ? 0 : -EBUSY;
280} 280}
281 281
282struct sh7372_pm_domain sh7372_a3sp = { 282struct sh7372_pm_domain sh7372_a3sp = {