]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
serial: Add rs485_supported to uart_port
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 6 Jun 2022 10:04:00 +0000 (13:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 07:42:30 +0000 (08:42 +0100)
commitdfd8b9d26b8b7289c101cb2e06698d0bc89cf72c
tree0cf99926cf055e4d4c30b1598f3a3ccfed01c6e6
parent0c3687822259a7628c85cd21a3445cbe3c367165
serial: Add rs485_supported to uart_port

[ Upstream commit 8925c31c1ac2f1e05da988581f2a70a2a8c4d638 ]

Preparing to move serial_rs485 struct sanitization into serial core,
each driver has to provide what fields/flags it supports. This
information is pointed into by rs485_supported.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220606100433.13793-4-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 0c2a5f471ce5 ("serial: 8250_exar: Set missing rs485_supported flag")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_core.c
include/linux/serial_core.h