Skip to content

Commit

Permalink
[nrf fromlist] drivers: mbox: nrf_vevif_event_tx: Fix errata 16 worka…
Browse files Browse the repository at this point in the history
…round

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]>
  • Loading branch information
nordic-krch authored and rlubos committed Feb 26, 2025
1 parent 4545832 commit 1bf500b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mbox/mbox_nrf_vevif_event_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static int vevif_event_tx_send(const struct device *dev, uint32_t id, const stru
nrf_vpr_csr_vevif_events_trigger(BIT(id));

#if defined(CONFIG_MBOX_NRF_VEVIF_EVENT_USE_54L_ERRATA_16)
while (!nrf_vpr_csr_vevif_events_get()) {
while (!(nrf_vpr_csr_vevif_events_get() & BIT(id))) {
;
}
nrf_vpr_csr_vevif_events_set(0);
Expand Down

0 comments on commit 1bf500b

Please sign in to comment.