serial: imx: disable UCR4_OREN on shutdown
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Thu, 24 May 2018 17:30:24 +0000 (19:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 15:54:43 +0000 (17:54 +0200)
commit339c7a875732a34b1ebd7f14e2357c28858cd2d0
tree39ad69ed0c785fa1a73c778bdfa9c975d915da57
parent0fdf17878560c6b561bc80a6d18978b1ee6c6c86
serial: imx: disable UCR4_OREN on shutdown

UCR4_OREN is (depending on the configuration) enabled in startup,
but is never disabled. Fix this by disabling it in shutdown.

Reported-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c