Commit 46a0c5c
committed
[nrf fromtree] 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.
Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 317de0c)1 parent 6884e5d commit 46a0c5c
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
| 1102 | + | |
1102 | 1103 | | |
1103 | 1104 | | |
1104 | 1105 | | |
1105 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
1106 | 1112 | | |
1107 | 1113 | | |
1108 | 1114 | | |
1109 | 1115 | | |
1110 | 1116 | | |
1111 | | - | |
1112 | 1117 | | |
1113 | 1118 | | |
1114 | 1119 | | |
1115 | 1120 | | |
| 1121 | + | |
1116 | 1122 | | |
1117 | 1123 | | |
1118 | 1124 | | |
| |||
0 commit comments