+6
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:
Konstantin Dorfman <kdorfman@codeaurora.org>