atmel_serial: fix spinlock lockup in RS485 code
authorClaudio Scordino <claudio@evidence.eu.com>
Fri, 16 Dec 2011 14:08:49 +0000 (15:08 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jan 2012 19:33:23 +0000 (11:33 -0800)
commitcf2f03e57c607a7863e6010ca9e5c4d08bc5b48c
tree358efd595aaff5e1c89da51236d6175b4ff85e94
parent2bd145b996b4a6412420b1d1b6909228a3ee727d
atmel_serial: fix spinlock lockup in RS485 code

commit dbf1115d3f8c7052788aa4e6e46abd27f3b3eeba upstream.

Patch to fix a spinlock lockup in the driver that sometimes happens when the
tasklet starts.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Dave Bender <codehero@gmail.com>
Tested-by: Dave Bender <codehero@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/atmel_serial.c