mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
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>
This commit is contained in:
parent
e59a8db8d9
commit
a029db4398
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user