serial: imx: Do not store/restore the UBRC register
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 7 Feb 2015 17:46:41 +0000 (15:46 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:13:08 +0000 (03:13 +0100)
commit4f86a95d75386b47178335599264a000601e01ed
treeea224aabb64e03c8e01ddc9813a758ff83d9c25e
parent16420ad05cdf82b27655a1e4554a8379a06c8075
serial: imx: Do not store/restore the UBRC register

UBRC is a read-only register, so we should not store and restore it inside
imx_flush_buffer().

Reported-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c