提交 a029db43 编写于 作者: G Guennadi Liakhovetski 提交者: Rafael J. Wysocki

PM / shmobile: fix A3SP suspend method

Fix the reverted condition in sh7372_a3sp_suspend().
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
上级 e59a8db8
...@@ -276,7 +276,7 @@ static int sh7372_a3sp_suspend(void) ...@@ -276,7 +276,7 @@ static int sh7372_a3sp_suspend(void)
* Serial consoles make use of SCIF hardware located in A3SP, * Serial consoles make use of SCIF hardware located in A3SP,
* keep such power domain on if "no_console_suspend" is set. * 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 = { struct sh7372_pm_domain sh7372_a3sp = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册