Files
linux/Documentation/driver-api
Ilpo Järvinen f9008285bb serial: Drop timeout from uart_port
Since commit 31f6bd7fad ("serial: Store character timing information
to uart_port"), per frame timing information is available on uart_port.
Uart port's timeout can be derived from frame_time by multiplying with
fifosize.

Most callers of uart_poll_timeout are not made under port's lock. To be
on the safe side, make sure frame_time is only accessed once. As
fifo_size is effectively a constant, it shouldn't cause any issues.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220613113905.22962-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-27 14:34:45 +02:00
..
2022-02-08 22:57:32 -08:00
2019-07-15 11:03:03 -03:00
2021-07-25 09:21:21 +01:00
2022-03-23 17:52:33 -07:00
2019-07-26 08:15:26 -06:00
2019-06-07 11:35:15 -06:00
2022-02-07 16:35:35 -08:00
2022-03-25 14:18:28 +01:00
2020-06-02 20:32:53 -03:00
2020-12-10 22:37:32 +01:00
2022-02-21 18:00:30 +01:00