Skip to content
Commit 222bc609 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

drivers: serial: stm32: report only unmasked irq



Fix #5298
irq_is_pending function returned TXE/RXNE flag status
even if IRQ was masked, which led to enless loop
in uart_pipe when no TX was performed. Fix by reporting status only when
IRQ is unmasked.

Signed-Off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 7ef046fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment