]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: 8250: 8250_omap.c: Clear DMA RX running status only after DMA termination...
authorMoteen Shah <m-shah@ti.com>
Mon, 12 Jan 2026 08:18:29 +0000 (13:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 13:25:45 +0000 (14:25 +0100)
commita5fd8945a478ff9be14812693891d7c9b4185a50
tree90bd963bcfc597fe53a16613defda6435516aadc
parent623b07b370e9963122d167e04fdc1dc713ebfbaf
serial: 8250: 8250_omap.c: Clear DMA RX running status only after DMA termination is done

Clear rx_running flag only after DMA teardown polling completes. In the
previous implementation the flag was being cleared while hardware teardown
was still in progress, creating a mismatch between software state
(flag = 0, "ready") and hardware state (still terminating).

Signed-off-by: Moteen Shah <m-shah@ti.com>
Link: https://patch.msgid.link/20260112081829.63049-3-m-shah@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_omap.c