Re: [PATCH v2] serial: imx: Correct comment imx_flush_buffer()

2017-10-04 Thread Uwe Kleine-König
On Wed, Oct 04, 2017 at 05:13:27PM +0100, Martyn Welch wrote: > 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

[PATCH v2] serial: imx: Correct comment imx_flush_buffer()

2017-10-04 Thread Martyn Welch
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 --- v2: Remove trail