Skip to content

Commit 2564443

Browse files
gmarullkartben
authored andcommitted
drivers: mbox: nrf_vevif_event_rx: fix VPR address
VPR address was obtained from the child instance, however, the child nodes address is purely an index within the VPR node. The VPR address needs to be obtained from the parent. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
1 parent cfc1ff1 commit 2564443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mbox/mbox_nrf_vevif_event_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ static int vevif_event_rx_init(const struct device *dev)
135135
.enabled_mask = 0, \
136136
}; \
137137
static const struct mbox_vevif_event_rx_conf conf##inst = { \
138-
.vpr = (NRF_VPR_Type *)DT_INST_REG_ADDR(inst), \
138+
.vpr = (NRF_VPR_Type *)DT_REG_ADDR(DT_INST_PARENT(inst)), \
139139
.events = DT_INST_PROP(inst, nordic_events), \
140140
.events_mask = DT_INST_PROP(inst, nordic_events_mask), \
141141
.irq_connect = irq_connect##inst, \

0 commit comments

Comments
 (0)