[PATCH v2 1/2] serial: msm_geni: fix RX FIFO init with proper cancel sequence

Varadarajan Narayanan varadarajan.narayanan at oss.qualcomm.com
Wed Jul 8 06:40:27 CEST 2026


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 <balaji.selvanathan at oss.qualcomm.com>

Reviewed-by: Varadarajan Narayanan <varadarajan.narayanan at oss.qualcomm.com>


More information about the U-Boot mailing list