Commit 805d467
committed
[nrf fromlist] drivers: serial: nrfx_uarte2: Fix handling of errors
Fix case when interrupt driven API did not enable error interrupt and
error occurs. Previously in that case error state was kept so device
remained in a state in which it was expecting higher layer to read
and clear error state by calling uart_err_check(). If error interrupt
is not enabled it will never occur and in that case error information
shall be dropped.
Upstream PR: zephyrproject-rtos/zephyr#74643
Signed-off-by: Krzysztof Chruściński <[email protected]>1 parent d5abd35 commit 805d467
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments