OSDN Git Service

ARM: clps711x: serial driver hungs are a result of call disable_irq within ISR
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 27 Mar 2012 08:22:49 +0000 (12:22 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Apr 2012 16:51:05 +0000 (09:51 -0700)
commitd9d0d9edd528ea9a30b6b469b230a45accd4f4ba
treefa9e90b62ef88efd1fe6fb0bef834b85512a3bad
parentc7a17402276938793a8e97fe7eefe28eb39fe874
ARM: clps711x: serial driver hungs are a result of call disable_irq within ISR

commit 7a6fbc9a887193a1e9f8658703881c528040afbc upstream.

Since 2.6.30-rc1 clps711x serial driver hungs system. This is a result
of call disable_irq from ISR. synchronize_irq waits for end of interrupt
and goes to infinite loop. This patch fix this problem.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/clps711x.c