diff options
author | Lino Sanfilippo <[email protected]> | 2024-01-03 07:18:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-04 16:26:09 +0100 |
commit | 1a33e33ca0e80d485458410f149265cdc0178cfa (patch) | |
tree | be2f09a9bd335365b30995a969f1bae6c8f0f7b7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 07c30ea5861fb26a77dade8cdc787252f6122fb1 (diff) |
serial: core: set missing supported flag for RX during TX GPIO
If the RS485 feature RX-during-TX is supported by means of a GPIO set the
according supported flag. Otherwise setting this feature from userspace may
not be possible, since in uart_sanitize_serial_rs485() the passed RS485
configuration is matched against the supported features and unsupported
settings are thereby removed and thus take no effect.
Cc: <[email protected]>
Fixes: 163f080eb717 ("serial: core: Add option to output RS485 RX_DURING_TX state via GPIO")
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Lino Sanfilippo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions