OSDN Git Service

serial: imx: Correct comment imx_flush_buffer()
authorMartyn Welch <martyn.welch@collabora.co.uk>
Wed, 4 Oct 2017 16:13:27 +0000 (17:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 11:57:37 +0000 (13:57 +0200)
commit263763c1c5235b01b654b954d4a278c8cf5a0def
treecd6bd8c310f1732777fca5dd7843fcc224c24e02
parent9424e8b1fedbaff34df187fdb87f9a9cba2d0ff2
serial: imx: Correct comment imx_flush_buffer()

The comment in imx_flush_buffer() states that the state of 4 registers
are to be saved/restored, then only saves and restores 3 registers. The
missing register (UBRC) is read only and thus can't be restored.

Update the comment to reflect reality.

Signed-off-by: Martyn Welch <martyn.welch@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