On Tue, Jul 07, 2026 at 03:22:42PM +0530, Balaji Selvanathan wrote:
> Replace the abort-only RX initialization with a proper stop sequence
> that matches the Linux driver approach. The new
> qcom_geni_serial_stop_rx_fifo function sends a CANCEL command instead
> of immediately aborting, waits for completion, drains any remaining
> FIFO data if S_RX_FIFO_LAST_EN is set, and only sends ABORT as a
> fallback if the secondary sequencer remains active after cancellation.
>
> Taken from 679aac5ead2f ("tty: serial: qcom_geni_serial: Fix RX cancel
> command failure")
>
> Signed-off-by: Balaji Selvanathan <[email protected]>
Reviewed-by: Varadarajan Narayanan <[email protected]>