aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2022-09-11 11:02:03 +0200
committerGreg Kroah-Hartman <[email protected]>2022-09-22 16:43:08 +0200
commitadafbbf6895eb0ce41a313c6ee68870ab9aa93cd (patch)
treefb7afaa57f1c6c53f832b26793a198792048689e /tools/perf/scripts/python/mem-phys-addr.py
parent3a939433ddc1bab98be028903aaa286e5e7461d7 (diff)
serial: stm32: Deassert Transmit Enable on ->rs485_config()
The STM32 USART can control RS-485 Transmit Enable in hardware. Since commit 7df5081cbf5e ("serial: stm32: Add RS485 RTS GPIO control"), it can alternatively be controlled in software. That was done to allow RS-485 even if the RTS pin is unavailable because it's pinmuxed to a different function. However the commit neglected to deassert Transmit Enable upon invocation of the ->rs485_config() callback. Fix it. Avoid forward declarations by moving stm32_usart_tx_empty(), stm32_usart_rs485_rts_enable() and stm32_usart_rs485_rts_disable() further up in the driver. Fixes: 7df5081cbf5e ("serial: stm32: Add RS485 RTS GPIO control") Cc: [email protected] # v5.9+ Cc: Marek Vasut <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Lukas Wunner <[email protected]> Link: https://lore.kernel.org/r/6059eab35dba394468335ef640df8b0050fd9dbd.1662886616.git.lukas@wunner.de Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions