diff options
| author | Helmut Grohne <[email protected]> | 2018-06-04 12:22:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-06-28 21:23:44 +0900 |
| commit | 68d12bb267da44f50167e64a95f1581cb729e5fc (patch) | |
| tree | 524ac686be24034f1802d9754fe963de7a8e99ca /scripts/gcc-plugins | |
| parent | 85c634e919bd6ef17427f26a52920aeba12e16ee (diff) | |
serial: xuartps: fix typo in cdns_uart_startup
The bit mask changes in commit 6e14f7c1f2c2 ("tty: xuartps: Improve
startup function") doesn't do what the commit message advertises. The
original behaviour was clearing the RX_DIS bit, but due to missing ~,
that bit is now the only bit kept.
Currently, the regression is harmless, because the previous write to the
control register sets it to TXRST | RXRST. Thus the RX_DIS bit is
previously cleared. The *RST bits are cleared by the hardware, so this
commit does not currently change behaviour, but makes future changes
less risky.
Link: https://www.spinics.net/lists/linux-serial/msg23157.html
Signed-off-by: Helmut Grohne <[email protected]>
Fixes: 6e14f7c1f2c2 ("tty: xuartps: Improve startup function")
Reviewed-by: Sören Brinkmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions