Skip to content

Commit 57330fa

Browse files
committed
[nrf fromlist] modules: hal_nordic: nrfs: Fix initialization priority
NRFS initialization must happen after the IPC service. Setting the same priority may lead to locking if NRFS initialization happens before the IPC. Upstream PR #: 106627 Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent 37fb0be commit 57330fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/hal_nordic/nrfs/backends/nrfs_backend_ipc_service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,4 +280,4 @@ __weak void nrfs_backend_fatal_error_handler(enum nrfs_backend_error error_id)
280280
sys_reboot(SYS_REBOOT_WARM);
281281
}
282282

283-
SYS_INIT(ipc_channel_init, POST_KERNEL, CONFIG_NRFS_BACKEND_IPC_SERVICE_INIT_PRIO);
283+
SYS_INIT(ipc_channel_init, POST_KERNEL, UTIL_INC(CONFIG_NRFS_BACKEND_IPC_SERVICE_INIT_PRIO));

0 commit comments

Comments
 (0)