Files
linux/drivers
Sergey Organov d45fb2e430 serial: imx: factor-out common code to imx_uart_soft_reset()
We perform soft reset in 2 places, slightly differently for no sufficient
reasons, so move more generic variant to a function, and re-use the code.

Out of 2 repeat counters, 10 and 100, select 10, as the code works at
interrupts disabled, and in practice the reset happens immediately.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
Link: https://lore.kernel.org/r/20230201142700.4346-2-sorganov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-08 13:11:48 +01:00
..
2023-02-06 10:48:49 +01:00
2023-01-27 14:05:38 +01:00
2022-12-11 21:25:58 +01:00
2023-01-22 12:55:13 +01:00
2023-01-22 12:55:13 +01:00
2023-02-06 10:48:49 +01:00
2023-02-06 10:48:49 +01:00