]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mach-shmobile: sh7372 A3SP no_suspend_console fix
authorMagnus Damm <damm@opensource.se>
Wed, 9 Nov 2011 23:44:01 +0000 (00:44 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 9 Nov 2011 23:44:01 +0000 (00:44 +0100)
commit814f6176644d4267c9d89161d801c54132982151
tree4a51bc4eddd13bb5797e02e94eb5d15e74903d4b
parent372c513f2865c99476eff6d05f016808b31b4168
ARM: mach-shmobile: sh7372 A3SP no_suspend_console fix

If "no_suspend_irq" is used on the sh7372 Mackerel board
with v3.2-rc1 then Suspend-to-RAM fails because the serial
console tries to write to the SCIF driver even though the
power domain is turned off.

This patch checks the state of "console_suspend_enabled"
to see if A3SP should be forced enabled.

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