aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/shmobile/cpuidle.c
diff options
context:
space:
mode:
authorAlexandre Courbot <gnurou@gmail.com>2011-03-03 08:04:42 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-04 15:57:10 +0900
commit36003386f86c0624ae0662a229081ef2b11ac784 (patch)
tree729d732c76398540e9c28ae7df3a131afea95297 /arch/sh/kernel/cpu/shmobile/cpuidle.c
parentMerge branch 'sh/st-integration' into sh-latest (diff)
downloadlinux-dev-36003386f86c0624ae0662a229081ef2b11ac784.tar.xz
linux-dev-36003386f86c0624ae0662a229081ef2b11ac784.zip
serial: sh-sci: fix deadlock when resuming from S3 sleep
S3 sleep invokes the shutdown callback of the sh-sci driver, which suspends the clocks until they are reactivated by a call to startup. However, before the latter is invoked, sci_set_termios may be called on the port by uart_resume_port. In such cases it will endlessly wait for the TEND bit to raise, which will never happen since the clocks are disabled. This patch ensures that clocks are enabled when ports registers are manipulated within sci_set_termios. Signed-off-by: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/shmobile/cpuidle.c')
0 files changed, 0 insertions, 0 deletions