Commit e98ab45
tty: serial: lpuart: only disable CTS instead of overwriting the whole UARTMODIR register
No need to overwrite the whole UARTMODIR register before waiting the
transmit engine complete, actually our target here is only to disable
CTS flow control to avoid the dirty data in TX FIFO may block the
transmit engine complete.
Also delete the following duplicate CTS disable configuration.
Fixes: d5a2e08 ("tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete")
Cc: stable <[email protected]>
Signed-off-by: Sherry Sun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 3c3cede commit e98ab45
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
2352 | 2358 | | |
2353 | 2359 | | |
2354 | 2360 | | |
2355 | 2361 | | |
2356 | 2362 | | |
2357 | | - | |
2358 | | - | |
| 2363 | + | |
2359 | 2364 | | |
2360 | | - | |
2361 | 2365 | | |
2362 | 2366 | | |
2363 | 2367 | | |
2364 | 2368 | | |
2365 | 2369 | | |
2366 | 2370 | | |
2367 | 2371 | | |
2368 | | - | |
2369 | | - | |
2370 | 2372 | | |
2371 | 2373 | | |
2372 | 2374 | | |
| |||
0 commit comments