aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLino Sanfilippo <[email protected]>2024-01-03 07:18:17 +0100
committerGreg Kroah-Hartman <[email protected]>2024-01-04 16:29:51 +0100
commit51f93776b84dee23e44a7be880736669a01cec2b (patch)
tree3e181579326643c41c2ddc369a18f2431842a64c /tools/perf/scripts/python/export-to-postgresql.py
parent74eab89b26ac433ad857292f4707b43c1a8f0209 (diff)
serial: omap: do not override settings for RS485 support
The drivers RS485 support is deactivated if there is no RTS GPIO available. This is done by nullifying the ports rs485_supported struct. After that however the settings in serial_omap_rs485_supported are assigned to the same structure unconditionally, which results in an unintended reactivation of RS485 support. Fix this by moving the assignment to the beginning of serial_omap_probe_rs485() and thus before uart_get_rs485_mode() gets called. Also replace the assignment of rs485_config() to have the complete RS485 setup in one function. Fixes: e2752ae3cfc9 ("serial: omap: Disallow RS-485 if rts-gpio is not specified") Cc: <[email protected]> Signed-off-by: Lino Sanfilippo <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions