imx: serial: be sure to stop xmit upon shutdown
authorFabian Godehardt <fg@emlix.com>
Thu, 11 Jun 2009 13:38:38 +0000 (14:38 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:08 +0000 (08:51 -0700)
commit2e1463922a35584c863f71d4021e1e71f76eaed0
tree5ad929468cd62126645f5b0e1d4d773344e0e5fc
parent977757311e50dc5d832c9fef34e7555411f7ccd8
imx: serial: be sure to stop xmit upon shutdown

needed to avoid continued transmission by hardware
while software already shuts down, which might
cause dangling characters to show up in hardware
queues when restarting the device.

Signed-off-by: Fabian Godehardt <fg@emlix.com>
Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/imx.c