diff options
author | Lino Sanfilippo | 2024-01-03 07:18:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2024-01-04 16:29:51 +0100 |
commit | 0c2a5f471ce58bca8f8ab5fcb911aff91eaaa5eb (patch) | |
tree | b90fb29c851e40eb236b9a4417a01eb9c8a797de /block/mq-deadline.c | |
parent | 51f93776b84dee23e44a7be880736669a01cec2b (diff) |
serial: 8250_exar: Set missing rs485_supported flag
The UART supports an auto-RTS mode in which the RTS pin is automatically
activated during transmission. So mark this mode as being supported even
if RTS is not controlled by the driver but the UART.
Also the serial core expects now at least one of both modes rts-on-send or
rts-after-send to be supported. This is since during sanitization
unsupported flags are deleted from a RS485 configuration set by userspace.
However if the configuration ends up with both flags unset, the core prints
a warning since it considers such a configuration invalid (see
uart_sanitize_serial_rs485()).
Cc: <stable@vger.kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Link: https://lore.kernel.org/r/20240103061818.564-8-l.sanfilippo@kunbus.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions