Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 117a9ea2 authored by Konstantin Dorfman's avatar Konstantin Dorfman
Browse files

soc: spcom: fix race during spcom channel create



spcom_register_rpmsg_drv() can hit race from different contexts:
when create channel occurs for uefi loaded sp application
and spdaemon uses the cryptoapp channel early, and at the same
time sec_nvm channel also creates new channel.

This change locks globally access to the channel table for
spcom_create_channel_chardev() command.

Change-Id: Ic4daee06591427146602f41227e77b3ccc3f3151
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 8543fd31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment