]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: shmobile: Remove the console check from sh7372_enter_suspend()
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Aug 2012 18:57:06 +0000 (20:57 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 17 Aug 2012 17:40:09 +0000 (19:40 +0200)
commit0718bf7779913b1a6f04ed383ba9907d951d0324
tree2e98409f6ccd5755326f6de06747b5a37e0622dd
parent59ad5a9c814918e3966b41a0598abd7cccac4124
ARM: shmobile: Remove the console check from sh7372_enter_suspend()

The !console_suspend_enabled check in sh7372_enter_suspend() seems
to be reversed and the condition it is supposed to catch (console
clock enabled) should be detected by the sh7372_sysc_valid() check
anyway, so remove it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
arch/arm/mach-shmobile/pm-sh7372.c