diff options
| author | Ian Jamison <[email protected]> | 2017-09-21 10:13:12 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-10-03 20:23:38 +0200 |
| commit | a0983c742a5885f82afb282166f83f1d3d8addf4 (patch) | |
| tree | 370d1373d957b4b961b511609053d3f2c709c0d9 /tools/perf/scripts/python/bin | |
| parent | 8b25deb18ba3f9b1af1ff9395b8de2bdb9d9fdbf (diff) | |
serial: imx: Update cached mctrl value when changing RTS
UART core function uart_update_mctrl relies on a cached value of
modem control lines. This was used but not updated by local RTS
control functions within imx.c. These are used for RS485 line
driver enable signalling. Having an out-of-date value in the cached
mctrl can result in the transmitter being enabled when it shouldn't
be.
Fix this by updating the mctrl value before applying it.
Signed-off-by: Ian Jamison <[email protected]>
Origin: id:8195c96e674517b82a6ff7fe914c7ba0f86e702b.1505375165.git.ian.dev@arkver.com
Acked-by: Uwe Kleine-König <[email protected]>
Tested-by: Uwe Kleine-König <[email protected]>
Tested-by: Clemens Gruber <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions