Commit 97a28ab
committed
[nrf fromlist] drivers: serial: nrfx_uarte: Add lock to uart_rx_disable
Add lock to fix race when uart_rx_disable is interrupted by RXTO
event which lead to driver state corruption.
Upstream PR: zephyrproject-rtos/zephyr#75462
Signed-off-by: Krzysztof Chruściński <[email protected]>1 parent 1346c93 commit 97a28ab
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
| 1105 | + | |
1105 | 1106 | | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
1109 | 1115 | | |
1110 | 1116 | | |
1111 | 1117 | | |
1112 | 1118 | | |
1113 | 1119 | | |
1114 | | - | |
1115 | 1120 | | |
1116 | 1121 | | |
1117 | 1122 | | |
1118 | 1123 | | |
| 1124 | + | |
1119 | 1125 | | |
1120 | 1126 | | |
1121 | 1127 | | |
| |||
0 commit comments