Files
linux/drivers/tty/serial
John Ogness eabd4600da serial: core: Introduce wrapper to set @uart_port->cons
Introduce uart_port_set_cons() as a wrapper to set @cons of a
uart_port. The wrapper sets @cons under the port lock in order
to prevent @cons from disappearing while another context is
holding the port lock. This is necessary for a follow-up
commit relating to the port lock wrappers, which rely on @cons
not changing between lock and unlock.

Signed-off-by: John Ogness <[email protected]>
Tested-by: Théo Lebrun <[email protected]> # EyeQ5, AMBA-PL011
Acked-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
2024-08-21 14:56:23 +02:00
..
2023-09-18 11:18:08 +02:00
…
…
2024-06-24 16:13:05 +02:00
…
2024-04-23 13:24:45 +02:00
2024-04-23 13:24:45 +02:00
…
2024-04-23 13:24:45 +02:00
…
…
…