Skip to content

Commit 1bf500b

Browse files
nordic-krchrlubos
authored andcommitted
[nrf fromlist] drivers: mbox: nrf_vevif_event_tx: Fix errata 16 workaround
Pend until requested event is set before clearing it. Without that check event could be cleared too early and APP core is not waken up. Upstream PR #: 86249 Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 4545832 commit 1bf500b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mbox/mbox_nrf_vevif_event_tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static int vevif_event_tx_send(const struct device *dev, uint32_t id, const stru
4040
nrf_vpr_csr_vevif_events_trigger(BIT(id));
4141

4242
#if defined(CONFIG_MBOX_NRF_VEVIF_EVENT_USE_54L_ERRATA_16)
43-
while (!nrf_vpr_csr_vevif_events_get()) {
43+
while (!(nrf_vpr_csr_vevif_events_get() & BIT(id))) {
4444
;
4545
}
4646
nrf_vpr_csr_vevif_events_set(0);

0 commit comments

Comments
 (0)