serial: imx: fix comment about UCR2_SRST and its handling for shadowing
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 12 Jun 2018 09:58:37 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:02:38 +0000 (21:02 +0900)
commit728e74a46fd4166935f2079b619007eaad98c9a5
tree9e813922312937eb58c14b05ee808ac1b6a336af
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819
serial: imx: fix comment about UCR2_SRST and its handling for shadowing

Initially when register shadowing was introduced (commit 3a0ab62f43de
("serial: imx: implement shadow registers for UCRx and UFCR")) the logic
to handle UCR2_SRST was wrong but documented consistently. Later the
handling was fixed, but the comment was not. This change makes up leeway
for the latter.

Fixes: 0aa821d846c0 ("serial: imx: fix cached UCR2 read on software reset")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c