Skip to content
Commit 5143db54 authored by Emil Obalski's avatar Emil Obalski Committed by Carles Cufí
Browse files

ipc: Fix icmsg deregister functionality



This change fixes the deregister functionality for
icmsg backend. There are two changes:

Memory access layer was not initialized properly
when the endpoint was registered again. This lead to
memory fault when attepmt to write to the buffer was
done.

Mbox driver was initialized before memory access layer
was initialized. This could lead to race condition
where immediately after the mbox driver was initialized,
the receiving work is scheduled due to pending interrupt.
In that case an attempt to read from garbage address will
occur.

Signed-off-by: default avatarEmil Obalski <Emil.Obalski@nordicsemi.no>
parent fc4606da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment